Peasycam OpenGL Hint() stops setActive(false) working
in
Contributed Library Questions
•
11 months ago
Hi all, couldn't find an answer here or google for this. I am on
OSX 10.8.2, Processing1.5.1, latest download of peasyCam.
My app works well but after i added the smoothing Hint the cam.setActive(false) no longer if effective. If the setActive is before the Hint it is effective. Most odd. But of course i want the Hint in the setup() and to toggle setActive in the draw() so it has to be after the Hint
thanks for the look
- cam = new PeasyCam(this, 6101.523, 187.831, 122.094, 362.338);
- cam.lookAt(327.863, 435.001, -15.541);
- cam.setRotations(-2.07, 0.674, -0.677);
- cam.setMinimumDistance(50);
- cam.setMaximumDistance(5000);
- hint(DISABLE_OPENGL_2X_SMOOTH);
- hint(ENABLE_OPENGL_4X_SMOOTH);
- cam.setActive(false);
1