HoverRace  2.0
Namespaces | Typedefs | Functions | Variables
ShapeCollisions.cpp File Reference
#include <math.h>
#include "ShapeCollisions.h"
+ Include dependency graph for ShapeCollisions.cpp:

Namespaces

 HoverRace
 
 HoverRace::Model
 

Typedefs

typedef BOOL(* HoverRace::Model::MR_ActorActorContactFunc) (const ShapeInterface *pActor0, const ShapeInterface *pActor1, ContactSpec &pAnswer)
 
typedef BOOL(* HoverRace::Model::MR_ActorActorLongitudeFunc) (const ShapeInterface *pActor0, const ShapeInterface *pActor1, MR_Angle &pLongitude)
 

Functions

BOOL HoverRace::Model::DetectActorContact (const ShapeInterface *pActor, const ShapeInterface *pObstacle, ContactSpec &pAnswer)
 
BOOL HoverRace::Model::DetectFeatureContact (const ShapeInterface *pActor, const PolygonShape *pFeature, ContactSpec &pAnswer)
 
void HoverRace::Model::DetectRoomContact (const ShapeInterface *pActor, const PolygonShape *pRoom, RoomContactSpec &pAnswer)
 
BOOL HoverRace::Model::GetActorForceLongitude (const ShapeInterface *pActor, const ShapeInterface *pObstacle, MR_Angle &pLongitude)
 
BOOL HoverRace::Model::GetFeatureForceLongitude (const ShapeInterface *pActor, const PolygonShape *pFeature, MR_Angle &pLongitude)
 
BOOL HoverRace::Model::GetPolygonInclusion (const PolygonShape &pPolygon, const MR_2DCoordinate &pPosition)
 
BOOL HoverRace::Model::GetWallForceLongitude (const ShapeInterface *, const PolygonShape *pRoom, int pWallIndex, MR_Angle &pLongitude)
 
static void HoverRace::Model::MR_AddContactWall (int pWallIndex, RoomContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_AreLineCrossing (MR_Int32 pAX0, MR_Int32 pAY0, MR_Int32 pAX1, MR_Int32 pAY1, MR_Int32 pBX0, MR_Int32 pBY0, MR_Int32 pBX1, MR_Int32 pBY1)
 
static BOOL HoverRace::Model::MR_CylinderCylinderContact (const CylinderShape *pActor0, const CylinderShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_CylinderLineContact (const CylinderShape *pActor0, const LineSegmentShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_CylinderPolygonContact (const CylinderShape *pActor0, const PolygonShape *pActor1, ContactSpec &pAnswer)
 
static void HoverRace::Model::MR_CylinderRoomContact (const CylinderShape *pActor, const PolygonShape *pRoom, RoomContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_Is1Outside0 (const PolygonShape *pActor0, const PolygonShape *pActor1)
 
static BOOL HoverRace::Model::MR_IsOnLeft (const MR_2DCoordinate &pPointToCheck, const MR_2DCoordinate &pVectorOrigin, const MR_2DCoordinate &pVectorDest)
 
static BOOL HoverRace::Model::MR_LineCylinderContact (const LineSegmentShape *pActor0, const CylinderShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_LineLineContact (const LineSegmentShape *pActor0, const LineSegmentShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_LinePolygonContact (const LineSegmentShape *pActor0, const PolygonShape *pActor1, ContactSpec &pAnswer)
 
static void HoverRace::Model::MR_LineRoomContact (const LineSegmentShape *pActor, const PolygonShape *pRoom, RoomContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_PolygonCylinderContact (const PolygonShape *pActor0, const CylinderShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_PolygonLineContact (const PolygonShape *pActor0, const LineSegmentShape *pActor1, ContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_PolygonPolygonContact (const PolygonShape *pActor0, const PolygonShape *pActor1, ContactSpec &pAnswer)
 
static void HoverRace::Model::MR_PolygonRoomContact (const PolygonShape *pActor, const PolygonShape *pRoom, RoomContactSpec &pAnswer)
 
static BOOL HoverRace::Model::MR_TestBoundingBox (const ShapeInterface *pActor0, const ShapeInterface *pActor1)
 
static BOOL HoverRace::Model::MR_TestLevelShape (const ShapeInterface *pActor0, const ShapeInterface *pActor1, ContactSpec &pAnswer)
 

Variables

static const MR_ActorActorContactFunc HoverRace::Model::MR_ActorActorContactMatrix [3][3]