fromBoundingSphere
fun fromBoundingSphere(boundingSphere: BoundingSphere, result: CullingVolume? = definedExternally): CullingVolume(source)
Constructs a culling volume from a bounding sphere. Creates six planes that create a box containing the sphere. The planes are aligned to the x, y, and z axes in world coordinates.
Return
The culling volume created from the bounding sphere.
Parameters
boundingSphere
The bounding sphere used to create the culling volume.
result
The object onto which to store the result.