java.lang.Object
com.marginallyclever.convenience.PrimitiveSolids

public class PrimitiveSolids extends Object
Static methods to help with rendering some simple shapes in OpenGL.
  • Constructor Details

    • PrimitiveSolids

      public PrimitiveSolids()
  • Method Details

    • drawCircleXY

      @Deprecated public static Mesh drawCircleXY(double radius, int steps)
      Deprecated.
    • drawBoxWireframe

      public static Mesh drawBoxWireframe(com.jogamp.opengl.GL3 gl, javax.vecmath.Tuple3d bottom, javax.vecmath.Tuple3d top)
      Draw box based on two corners
      Parameters:
      gl - systems context
      bottom - minimum bounds
      top - maximum bounds
      Returns:
      mesh