Package com.marginallyclever.convenience
Class PrimitiveSolids
java.lang.Object
com.marginallyclever.convenience.PrimitiveSolids
Static methods to help with rendering some simple shapes in OpenGL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshdrawBoxWireframe(com.jogamp.opengl.GL3 gl, javax.vecmath.Tuple3d bottom, javax.vecmath.Tuple3d top) Draw box based on two cornersstatic MeshdrawCircleXY(double radius, int steps) Deprecated.
-
Constructor Details
-
PrimitiveSolids
public PrimitiveSolids()
-
-
Method Details
-
drawCircleXY
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 contextbottom- minimum boundstop- maximum bounds- Returns:
- mesh
-