diff options
Diffstat (limited to 'src/demos/vertexProgRefract')
-rw-r--r-- | src/demos/vertexProgRefract/VertexProgRefract.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/vertexProgRefract/VertexProgRefract.java b/src/demos/vertexProgRefract/VertexProgRefract.java index edbef87..fa71f0c 100644 --- a/src/demos/vertexProgRefract/VertexProgRefract.java +++ b/src/demos/vertexProgRefract/VertexProgRefract.java @@ -45,7 +45,6 @@ import gleem.BSphere; import gleem.BSphereProvider; import gleem.ExaminerViewer; import gleem.ManipManager; -import gleem.MouseButtonHelper; import gleem.linalg.Rotf; import gleem.linalg.Vec3f; import java.awt.BorderLayout; @@ -332,7 +331,8 @@ public class VertexProgRefract extends Demo { manager.registerWindow((AWTGLAutoDrawable) drawable); this.drawable = drawable; - viewer = new ExaminerViewer(MouseButtonHelper.numMouseButtons()); + viewer = new ExaminerViewer(); + viewer.setUpVector(Vec3f.Y_AXIS); viewer.setNoAltKeyMode(true); viewer.setAutoRedrawMode(false); viewer.attach((AWTGLAutoDrawable) drawable, new BSphereProvider() { |