Package jgl.glj3d

Class GLJ3DGeometry


  • public class GLJ3DGeometry
    extends Object
    GLJ3DGeometry is the Java3d geometry like class of JavaGL 2.2.
    Version:
    0.1, 20 Jan 2000
    Author:
    Robin Bing-Yu Chen
    • Constructor Detail

      • GLJ3DGeometry

        public GLJ3DGeometry()
    • Method Detail

      • drawColorCube

        public static final void drawColorCube​(GL JavaGL,
                                               double scale)
        Draws a color cube with the specified scale. The corners of the color cube are [-scale,-scale,-scale] and [scale,scale,scale].
        Parameters:
        JavaGL - the JavaGL instance
        scale - the scale of the cube