|
|
Sphere object.
| Sphere (DBL r)
| Sphere |
Create sphere at origin.
Parameters:
| r | radius |
| Sphere (DBL r, Vector3 l)
| Sphere |
Create sphere.
Parameters:
| r | radius |
| l | midpoint |
| Object3D* duplicate ()
| duplicate |
[const]
Reimplemented from Object3D.
| void rotate (const Vector3& v)
| rotate |
Reimplemented from Object3D.
| Intersection* intersectUnBounded (const Ray &r)
| intersectUnBounded |
Reimplemented from Object3D.
| Intersection* intersectUnBounded (const Ray &r, DBL maxtime)
| intersectUnBounded |
Reimplemented from Object3D.
| bool isInsideAt (const Vector3 &locallocation)
| isInsideAt |
[const]
Reimplemented from Object3D.
| void prepareToRender ()
| prepareToRender |
Reimplemented from Object3D.
| static HitStatistics stat | stat |
[private]
| DBL radius | radius |
[private]
| DBL radiussq | radiussq |
[private]
| void calculateBoundingBox ()
| calculateBoundingBox |
[private]
| SphereIntersection (class) | SphereIntersection |
[private]
Describes Ray-Sphere Intersection.