public class GL2PrimitiveFactory
extends java.lang.Object
Constructor and Description |
---|
GL2PrimitiveFactory() |
Modifier and Type | Method and Description |
---|---|
static GL2DisplayList |
createCone(com.jogamp.opengl.GL2 gl,
int slices,
boolean capped) |
static GL2DisplayList |
createCube(com.jogamp.opengl.GL2 gl)
Box from (-1,-1,-1) to (1,1,1)
|
static GL2DisplayList |
createCylinder(com.jogamp.opengl.GL2 gl,
int slices,
boolean capped) |
static GL2DisplayList |
createSphere(com.jogamp.opengl.GL2 gl,
int slices,
int levels) |
static GL2DisplayList |
createSpindle(com.jogamp.opengl.GL2 gl,
int slices,
int levels) |
public static GL2DisplayList createSphere(com.jogamp.opengl.GL2 gl, int slices, int levels)
public static GL2DisplayList createSpindle(com.jogamp.opengl.GL2 gl, int slices, int levels)
public static GL2DisplayList createCylinder(com.jogamp.opengl.GL2 gl, int slices, boolean capped)
public static GL2DisplayList createCone(com.jogamp.opengl.GL2 gl, int slices, boolean capped)
public static GL2DisplayList createCube(com.jogamp.opengl.GL2 gl)
gl
- context