ConeGenerator
-
class
cee.utils.ConeGenerator() Helper class to tesselate a cone
Constructors
Properties
Methods
fillVerticesIndices
-
ConeGenerator.fillVerticesIndices(vertices, indices) Arguments: - vertices (
Float32Array) – The vertices in the format x,y,z,x,y,z,… - indices (
[number]) – The indices for the vertices
Fills the members
m_verticesandm_indicesof this class.Return type: void - vertices (
getIndices
-
ConeGenerator.getIndices() Get the indices of triangles needed to render the solid object
Return type: [number]
getVertices
-
ConeGenerator.getVertices() Get the vertices of the solid object as Vec3
Return type: [Vec3]