.. | .. |
---|
29 | 29 | editWindow = objectUI.GetEditor(); |
---|
30 | 30 | } |
---|
31 | 31 | |
---|
32 | | - void draw(CameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) |
---|
| 32 | + void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) |
---|
33 | 33 | { |
---|
34 | 34 | //if(count <= 0) |
---|
35 | 35 | // return; |
---|
36 | 36 | |
---|
37 | | - if(display.drawMode == display.SELECTION || CameraPane.DEBUG_SELECTION) |
---|
| 37 | + if(display.DrawMode() == display.SELECTION || display.IsDebugSelection()) |
---|
38 | 38 | { |
---|
39 | 39 | super.draw(display, root, selected, blocked); |
---|
40 | 40 | return; |
---|
.. | .. |
---|
49 | 49 | { |
---|
50 | 50 | cStatic.point7.set(stack.peek()); |
---|
51 | 51 | /**/ |
---|
52 | | - javax.media.opengl.GL gl = display.GetGL(); |
---|
| 52 | + //javax.media.opengl.GL gl = display.GetGL(); |
---|
53 | 53 | |
---|
54 | 54 | //gl.glBegin(gl.GL_LINES); |
---|
55 | 55 | //gl.glVertex3d(stack.peek().x, stack.peek().y, stack.peek().z); |
---|
.. | .. |
---|
134 | 134 | //System.out.println("point = " + cStatic.point7); |
---|
135 | 135 | LA.matConcat(cStatic.matrix1, cStatic.cone[d].toParent, cStatic.cone[d].toParent); |
---|
136 | 136 | |
---|
137 | | - if (display.matrixdepth >= display.MAXSTACK) |
---|
| 137 | + if (false) // TODO display.matrixdepth >= display.MAXSTACK) |
---|
138 | 138 | { |
---|
139 | 139 | LA.matRotate(cStatic.cone[d].fromParent, cStatic.point8, cStatic.point7); |
---|
140 | 140 | LA.matRotate(cStatic.sphere[d].fromParent, cStatic.point8, cStatic.point7); |
---|