cylinderMesh
fun cylinderMesh(sides: Int = 16, segments: Int = 16, radius: Double = 1.0, length: Double, flipNormals: Boolean = false, center: Boolean = false): VertexBuffer(source)
Creates a cylinder along the z-axis
Return
A vertex buffer containing the triangles to render the 3D shape
Parameters
sides
the number of sides of the cylinder
segments
the number of segments along the z-axis
radius
the radius of the cylinder
length
the length of the cylinder
flipNormals
generates inside-out geometry if true
center
center the cylinder on the z-plane