Skip to content

Instantly share code, notes, and snippets.

@PDXIII
Created April 15, 2013 11:13
Show Gist options
  • Save PDXIII/5387379 to your computer and use it in GitHub Desktop.
Save PDXIII/5387379 to your computer and use it in GitHub Desktop.
Code snippet for my Unfolding tutorial site.
void draw() {
map.draw();
for (int i = 0; i < countryMarkers.size(); i++){
Marker country = countryMarkers.get(i);
if(country.isInside(map, mouseX, mouseY)){
country.draw(map);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment