use of com.jogamp.opengl.util.Animator in project jmonkeyengine by jMonkeyEngine.
the class JoglNewtAbstractDisplay method startGLCanvas.
protected void startGLCanvas() {
if (frameRate > 0) {
animator = new FPSAnimator(canvas, frameRate);
} else {
animator = new Animator();
animator.add(canvas);
((Animator) animator).setRunAsFastAsPossible(true);
}
animator.start();
wasAnimating = true;
}
use of com.jogamp.opengl.util.Animator in project jmonkeyengine by jMonkeyEngine.
the class JoglAbstractDisplay method startGLCanvas.
protected void startGLCanvas() {
if (frameRate > 0) {
animator = new FPSAnimator(canvas, frameRate);
} else {
animator = new Animator();
animator.add(canvas);
((Animator) animator).setRunAsFastAsPossible(true);
}
animator.start();
wasAnimating = true;
}
Aggregations