diff options
Diffstat (limited to 'src/demos/proceduralTexturePhysics')
-rw-r--r-- | src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java index 427d645..a813906 100644 --- a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java +++ b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java @@ -40,7 +40,6 @@ import gleem.BSphereProvider; import gleem.CameraParameters; import gleem.ExaminerViewer; import gleem.ManipManager; -import gleem.MouseButtonHelper; import gleem.linalg.Vec3f; import java.awt.BorderLayout; import java.awt.Frame; @@ -195,7 +194,8 @@ public class ProceduralTexturePhysics extends Demo { manager.registerWindow((AWTGLAutoDrawable) drawable); this.drawable = drawable; - viewer = new ExaminerViewer(MouseButtonHelper.numMouseButtons()); + viewer = new ExaminerViewer(); + viewer.setUpVector(Vec3f.Y_AXIS); viewer.setAutoRedrawMode(false); viewer.attach((AWTGLAutoDrawable) drawable, new BSphereProvider() { |