History

Merge remote-tracking branch 'origin/master'

Philip Rosedale committed 13 years ago

Commit b6510322 parents 82594c3 6d67d6f9 files · +339 −34Browse files

Showing the changes to interface/src/main.cpp (1 of 9 files). Show all

Unified · Split

interface/src/main.cpp+5−6
@@ -611,14 +611,13 @@ void display(void) · 610 unmodified lines
611611 glDisable(GL_DEPTH_TEST);
612612 glDisable(GL_LIGHTING);
613613
614− //lattice.render(WIDTH, HEIGHT);
614+ // lattice.render(WIDTH, HEIGHT);
615+ // myFinger.render();
615616 Audio::render(WIDTH, HEIGHT);
616617
617618 //drawvec3(100, 100, 0.15, 0, 1.0, 0, myHead.getPos(), 0, 1, 0);
618619 glPointParameterfvARB( GL_POINT_DISTANCE_ATTENUATION_ARB, pointer_attenuation_quadratic );
619620
620−// myFinger.render();
621−
622621 if (mouse_pressed == 1)
623622 {
624623 glPointSize( 10.0f );
@@ -868,7 +867,7 @@ void mouseFunc( int button, int state, int x, int y ) · 243 unmodified lines
868867 mouse_x = x;
869868 mouse_y = y;
870869 mouse_pressed = 1;
871−// lattice.mouseClick((float)x/(float)WIDTH,(float)y/(float)HEIGHT);
870+ lattice.mouseClick((float)x/(float)WIDTH,(float)y/(float)HEIGHT);
872871 }
873872 if( button == GLUT_LEFT_BUTTON && state == GLUT_UP )
874873 {
@@ -901,8 +900,8 @@ void mouseoverFunc( int x, int y) · 26 unmodified lines
901900 mouse_y = y;
902901 if (mouse_pressed == 0)
903902 {
904− lattice.mouseOver((float)x/(float)WIDTH,(float)y/(float)HEIGHT);
905− myFinger.setTarget(mouse_x, mouse_y);
903+// lattice.mouseOver((float)x/(float)WIDTH,(float)y/(float)HEIGHT);
904+// myFinger.setTarget(mouse_x, mouse_y);
906905 }
907906 }
908907