This class represents a bounding sphere.
It is stored as a v128, with position in the first 3 components, and radius in w.
| Name | Description |
|---|---|
| Geo::v128 m_Sphere | The v128 representation. |
| Name | Description |
|---|---|
| GeoBoundingSphere() | Constructor - makes an empty bounding sphere. |
| GeoBoundingSphere(v128, float) | Constructor - makes a bounding sphere. |
| GeoBoundingSphere(const GeoBoundingSphere &) | Copy Constructor. |
| GeoBoundingSphere(const GeoBoundingBox &) | Conversion Constructor. |
| GeoBoundingSphere(const GeoNonAABoundingBox &) | Conversion Constructor. |
| GetCenter() | Return the center of this bounding sphere. |
| GetRadius() | Return the sphere radius. |
| SetCenter(v128) | Set the center of this bounding sphere. |
| SetRadius(float) | Set the sphere radius. |
public: GeoBoundingSphere()
Constructor - makes an empty bounding sphere.
public: GeoBoundingSphere
(
v128 center,
float radius
)
Constructor - makes a bounding sphere.
public: GeoBoundingSphere
(
const GeoBoundingSphere & from
)
Copy Constructor.
public: GeoBoundingSphere
(
const GeoBoundingBox & from
)
Conversion Constructor.
public: GeoBoundingSphere
(
const GeoNonAABoundingBox & from
)
Conversion Constructor.
public: v128 GetCenter() const
Return the center of this bounding sphere.
public: float GetRadius() const
Return the sphere radius.
public: void SetCenter
(
v128 c
)
Set the center of this bounding sphere.
public: void SetRadius
(
float r
)
Set the sphere radius.