sphere

A spherical solid.

Signatures

  • sphere()
  • sphere( float radius )
  • sphere( float radius, vector position )

Details

A sphere is defined by its radius.

Casts To

solid

Parameters

radius

Radius of the sphere.

position

Translation vector that is applied to the sphere.