import processing.opengl.*; void setup() { size(1024,768, P3D); framerate(24); ellipseMode(CENTER); futura30 = loadFont("futura30.vlw"); // load & parse XML1 xml = new XMLElement(); String xmlString=""; String[] geo=loadStrings("geo.xml"); for(int i=0; i= x1 && mouseX <= x1+width1 && mouseY >= y1 && mouseY <= y1+height1) { return true; } else { return false; } } void goURL(String here, String there) { try { getAppletContext().showDocument(new URL(here), there); } catch(Exception ex) {} } void direccionnorte(){ ///////este es el norte pushMatrix(); translate(80, height/2); rotateZ(rotz); rotateX(rotx+radians(o)); rotateY(roty); textFont(futura30, 40); textAlign(CENTER); fill(120); text("N", 0, 0); fill(205); text("N", 0, 0,1); fill(255, 20, 120); text(">", 30, 0); popMatrix(); // translate(10, height/2); // rotate(radians(-90)); // textFont(futura30, 11); // textAlign(CENTER); // fill(80); //text("Click and drag to ZOOM IN and ZOOM OUT / press the 'M' KEY to change the ANGLE OF VIEW / Use + and - to resize the Rocks", 0, 4); //fill(110); //text("press the 'M' KEY to change the ANGLE OF VIEW ",0, 16); }