makeCylinder

open fun makeCylinder(engine: Engine, radius: Float, height: Float, center: Vector3, material: Material): ModelRenderable

Creates a ModelRenderable in the shape of a cylinder with the give specifications.

Return

renderable representing a cylinder with the given parameters

Parameters

radius

the radius of the constructed cylinder

height

the height of the constructed cylinder

center

the center of the constructed cylinder

material

the material to use for rendering the cylinder