Class Cylinder
java.lang.Object
com.marginallyclever.ro3.mesh.Mesh
com.marginallyclever.ro3.mesh.shapes.Cylinder
-
Field Summary
Modifier and TypeFieldDescriptionfloat
float
float
static final int
static final int
Fields inherited from class com.marginallyclever.ro3.mesh.Mesh
BYTES_PER_FLOAT, BYTES_PER_INT, colorArray, indexArray, normalArray, NUM_BUFFERS, renderStyle, textureArray, vertexArray
-
Constructor Summary
-
Method Summary
Methods inherited from class com.marginallyclever.ro3.mesh.Mesh
addColor, addIndex, addNormal, addTexCoord, addVertex, clear, getBoundingBox, getHasColors, getHasIndexes, getHasNormals, getHasTextures, getNormal, getNumTriangles, getNumVertices, getRenderStyle, getSourceName, getVertex, intersect, isDirty, isLoaded, isTransparent, render, render, setDirty, setLoaded, setRenderStyle, setSourceName, setVertex, unload, updateCuboid, updateVertexBuffers
-
Field Details
-
RESOLUTION_CIRCULAR
public static final int RESOLUTION_CIRCULAR- See Also:
-
RESOLUTION_LENGTH
public static final int RESOLUTION_LENGTH- See Also:
-
radius0
public float radius0 -
radius1
public float radius1 -
height
public float height
-
-
Constructor Details
-
Cylinder
public Cylinder() -
Cylinder
public Cylinder(double height, double radius0, double radius1)
-