public class GL3PrimitiveFactory
extends java.lang.Object
Constructor and Description |
---|
GL3PrimitiveFactory(GL3VertexAttributeInfo position,
GL3VertexAttributeInfo normal,
GL3VertexAttributeInfo color,
GL3VertexAttributeInfo texcoord) |
Modifier and Type | Method and Description |
---|---|
GL3SharedPrimitive |
createAxes(com.jogamp.opengl.GL3 gl,
boolean x,
boolean y,
boolean z) |
GL3SharedPrimitive |
createCone(com.jogamp.opengl.GL3 gl,
int nSlices,
boolean capped) |
GL3SharedPrimitive |
createCube(com.jogamp.opengl.GL3 gl) |
GL3SharedPrimitive |
createCylinder(com.jogamp.opengl.GL3 gl,
int nSlices,
boolean capped) |
GL3SharedPrimitive |
createSphere(com.jogamp.opengl.GL3 gl,
int nSlices,
int nLevels) |
GL3SharedPrimitive |
createSpindle(com.jogamp.opengl.GL3 gl,
int nSlices,
int nLevels) |
public GL3PrimitiveFactory(GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord)
public GL3SharedPrimitive createCylinder(com.jogamp.opengl.GL3 gl, int nSlices, boolean capped)
public GL3SharedPrimitive createCone(com.jogamp.opengl.GL3 gl, int nSlices, boolean capped)
public GL3SharedPrimitive createSpindle(com.jogamp.opengl.GL3 gl, int nSlices, int nLevels)
public GL3SharedPrimitive createSphere(com.jogamp.opengl.GL3 gl, int nSlices, int nLevels)
public GL3SharedPrimitive createAxes(com.jogamp.opengl.GL3 gl, boolean x, boolean y, boolean z)
public GL3SharedPrimitive createCube(com.jogamp.opengl.GL3 gl)