|
Public Member Functions |
|
EMMA_EXPORT | Sphere (const Fusion::Vec3f &c, float r) |
| | Construct a sphere given center and radius.
|
|
EMMA_EXPORT void | setValue (const Fusion::Vec3f &c, float r) |
| | Change the center and radius.
|
|
EMMA_EXPORT void | setCenter (const Fusion::Vec3f &c) |
| | Set just the center or radius.
|
|
EMMA_EXPORT const Fusion::Vec3f & | getCenter () const |
| | Return the center and radius.
|
|
EMMA_EXPORT void | circumscribe (const Box3f &box) |
| | Return a sphere containing a given box.
|
|
EMMA_EXPORT bool | intersect (const Line &l, Fusion::Vec3f &intersection) const |
| | Intersect line and sphere, returning TRUE if there is an intersection.
|