Package | com.derschmale.wick3d.core.geometry.bounds |
Class | public class BoundingSphere |
Inheritance | BoundingSphere ![]() |
Implements | IBoundingVolume |
Method | Defined by | ||
---|---|---|---|
BoundingSphere(vertices:Array)
Creates a BoundingSphere object.
| BoundingSphere | ||
testBoundsToFrustum(frustum:ViewFrustum):Boolean
Tests the bounds to a camera's frustum.
| BoundingSphere | ||
transformToViewCoords(transform:Transformation3D):void
Transforms the bounding volume to view coordinates.
| BoundingSphere | ||
updateBounds():void
Updates the bounds according to the current vertices.
| BoundingSphere |
BoundingSphere | () | constructor |
public function BoundingSphere(vertices:Array)
Creates a BoundingSphere object.
Parametersvertices:Array — The vertices of the object. The vertices passed here should be in object space.
|
testBoundsToFrustum | () | method |
public override function testBoundsToFrustum(frustum:ViewFrustum):Boolean
Tests the bounds to a camera's frustum.
Parametersfrustum:ViewFrustum — The view frustum to test to.
|
Boolean |
See also
transformToViewCoords | () | method |
public override function transformToViewCoords(transform:Transformation3D):void
Transforms the bounding volume to view coordinates.
Parameterstransform:Transformation3D — The transformation object to be used.
|
See also
updateBounds | () | method |
public override function updateBounds():void
Updates the bounds according to the current vertices.