#include <CollisionVolumeBSphere.h>
◆ CollisionVolumeBSphere() [1/2]
| CollisionVolumeBSphere::CollisionVolumeBSphere |
( |
| ) |
|
|
default |
◆ ~CollisionVolumeBSphere()
| CollisionVolumeBSphere::~CollisionVolumeBSphere |
( |
| ) |
|
|
inline |
◆ CollisionVolumeBSphere() [2/2]
◆ ComputeData()
| errcode CollisionVolumeBSphere::ComputeData |
( |
Model * |
mod, |
|
|
Matrix & |
mat |
|
) |
| |
|
overridevirtual |
Calculates the collision data based on a model and its world matrix.
- Author
- Jack Campbell
- Date
- 3/5/2017
- Parameters
-
| [in,out] | mod | If non-null, the modifier. |
| [in,out] | mat | The matrix. |
- Returns
- The calculated data.
Implements CollisionVolume.
◆ DebugView()
| errcode CollisionVolumeBSphere::DebugView |
( |
const Vect & |
col | ) |
const |
|
overridevirtual |
Debug view.
- Author
- Jack Campbell
- Date
- 4/7/2017
- Parameters
-
- Returns
- An errcode.
Implements CollisionVolume.
◆ getCenter()
| const Vect & CollisionVolumeBSphere::getCenter |
( |
| ) |
const |
◆ getRadius()
| float CollisionVolumeBSphere::getRadius |
( |
| ) |
const |
◆ Intersect() [1/5]
| bool CollisionVolumeBSphere::Intersect |
( |
const CollisionVolume & |
other | ) |
const |
|
overridevirtual |
◆ Intersect() [2/5]
◆ Intersect() [3/5]
◆ Intersect() [4/5]
Intersects the given other.
- Author
- Jack Campbell
- Date
- 4/15/2017
- Parameters
-
- Returns
- True if it succeeds, false if it fails.
Implements CollisionVolume.
◆ Intersect() [5/5]
Intersects the given parameter 1.
- Author
- Jack Campbell
- Date
- 5/3/2017
- Parameters
-
| parameter1 | The first parameter. |
- Returns
- True if it succeeds, false if it fails.
Implements CollisionVolume.
◆ operator=()
◆ center
| Vect CollisionVolumeBSphere::center |
|
private |
◆ radius
| float CollisionVolumeBSphere::radius |
|
private |
The documentation for this class was generated from the following files: