ConeGenerator
-
class
cee.utils.ConeGenerator() Helper class to tesselate a cone
Constructors
-
cee.utils.ConeGenerator.constructor() - ConeGenerator():
ConeGeneratorReturns:
ConeGenerator
Properties
-
cee.utils.ConeGenerator.m_indices inherited
m_indices: number[]
Methods
-
cee.utils.ConeGenerator.fillVerticesIndices() inherited
fillVerticesIndices(vertices: Float32Array, indices: number[]): voidFills the members
m_verticesandm_indicesof this class.Parameters
vertices: Float32Array
The vertices in the format x,y,z,x,y,z,…indices: number[]
The indices for the verticesReturns: void
-
cee.utils.ConeGenerator.generate() - generate(): void
Generate the cone
Returns: void
-
cee.utils.ConeGenerator.getIndices() inherited
getIndices(): number[]Get the indices of triangles needed to render the solid object
Returns: number[]
-
cee.utils.ConeGenerator.getVertices() inherited
getVertices():Vec3[]Get the vertices of the solid object as Vec3
Returns:
Vec3[]
-
cee.utils.ConeGenerator.getVerticesNumber() inherited
getVerticesNumber(): number[]Get the vertices of the solid object as a number array with <x,y,z,x,y,z,…>
Returns: number[]