java.lang.Object
com.marginallyclever.ro3.mesh.Mesh
com.marginallyclever.ro3.mesh.proceduralmesh.ProceduralMesh
com.marginallyclever.ro3.mesh.proceduralmesh.Waldo
- All Implemented Interfaces:
OpenGL3Resource
-
Field Summary
FieldsFields inherited from class com.marginallyclever.ro3.mesh.Mesh
colorArray, indexArray, normalArray, NUM_BUFFERS, renderStyle, textureArray, vertexArray -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.marginallyclever.ro3.mesh.proceduralmesh.ProceduralMesh
toJSONMethods inherited from class com.marginallyclever.ro3.mesh.Mesh
addColor, addIndex, addNormal, addNormal, addPropertyChangeListener, addTexCoord, addVertex, addVertex, clear, createPathMesh, fireMeshChanged, getBoundingBox, getColor, getHasColors, getHasIndexes, getHasNormals, getHasTextures, getNormal, getNumTriangles, getNumVertices, getRandomPointOnSurface, getRandomPointOnTriangle, getRenderStyle, getSourceName, getTexCoord, getTriangleArea, getVertex, getVertexProvider, intersect, isDirty, isLoaded, isTransparent, removePropertyChangeListener, render, render, setDirty, setLoaded, setRenderStyle, setSourceName, setTexCoord, setVertex, unload, updateBoundingBox, updateVertexBuffers
-
Field Details
-
DEFAULT_RADIUS
public static final float DEFAULT_RADIUS- See Also:
-
-
Constructor Details
-
Waldo
public Waldo() -
Waldo
public Waldo(float radius)
-
-
Method Details
-
getEnglishName
- Specified by:
getEnglishNamein classProceduralMesh
-
updateModel
public void updateModel()Draw a grid of lines in the current color- Specified by:
updateModelin classProceduralMesh
-
fromJSON
public void fromJSON(org.json.JSONObject from) - Overrides:
fromJSONin classProceduralMesh
-
getRadius
public float getRadius() -
setRadius
Set the length of each axis arrow.- Parameters:
radius- the length of each axis arrow.- Throws:
IllegalArgumentException
-