Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <CollisionResponse.h>
Public Member Functions | |
CollisionResponse () | |
~CollisionResponse () | |
bool | ResponseToCollision (PointMass *p1, float radius1, PointMass *p2, float radius2, float e) |
bool | ResponseToCollision (PointMass *p1, float radius1, const Frustum &frustum, float e) |
bool | ResponseToCollision (PointMass *p1, float radius1, const Plane &plane, float e) |
Represents the result of a collision between two physics bodies
|
inline |
CollisionResponse constructor.
|
inline |
CollisionResponse destructor.
bool Ult::CollisionResponse::ResponseToCollision | ( | PointMass * | p1, |
float | radius1, | ||
PointMass * | p2, | ||
float | radius2, | ||
float | e ) |
PointMass collision as spheres.