makeSphere
open fun makeSphere(engine: Engine, radius: Float, center: Vector3, material: Material): ModelRenderable
Creates a ModelRenderable in the shape of a sphere with the give specifications.
Return
renderable representing a sphere with the given parameters
Parameters
radius
the radius of the constructed sphere
center
the center of the constructed sphere
material
the material to use for rendering the sphere