Cyclone Cyclone: cyclone::CollisionDetector Class Reference

cyclone::CollisionDetector Class Reference

A wrapper class that holds the fine grained collision detection routines. More...

#include <collide_fine.h>

List of all members.

Static Public Member Functions

static unsigned sphereAndHalfSpace (const CollisionSphere &sphere, const CollisionPlane &plane, CollisionData *data)
static unsigned sphereAndTruePlane (const CollisionSphere &sphere, const CollisionPlane &plane, CollisionData *data)
static unsigned sphereAndSphere (const CollisionSphere &one, const CollisionSphere &two, CollisionData *data)
static unsigned boxAndHalfSpace (const CollisionBox &box, const CollisionPlane &plane, CollisionData *data)
 Does a collision test on a collision box and a plane representing a half-space (i.e.
static unsigned boxAndBox (const CollisionBox &one, const CollisionBox &two, CollisionData *data)
static unsigned boxAndPoint (const CollisionBox &box, const Vector3 &point, CollisionData *data)
static unsigned boxAndSphere (const CollisionBox &box, const CollisionSphere &sphere, CollisionData *data)


Detailed Description

A wrapper class that holds the fine grained collision detection routines.

Each of the functions has the same format: it takes the details of two objects, and a pointer to a contact array to fill. It returns the number of contacts it wrote into the array.


Member Function Documentation

static unsigned cyclone::CollisionDetector::boxAndBox const CollisionBox one,
const CollisionBox two,
CollisionData data
[static]
 

static unsigned cyclone::CollisionDetector::boxAndHalfSpace const CollisionBox box,
const CollisionPlane plane,
CollisionData data
[static]
 

Does a collision test on a collision box and a plane representing a half-space (i.e.

the normal of the plane points out of the half-space).

static unsigned cyclone::CollisionDetector::boxAndPoint const CollisionBox box,
const Vector3 point,
CollisionData data
[static]
 

static unsigned cyclone::CollisionDetector::boxAndSphere const CollisionBox box,
const CollisionSphere sphere,
CollisionData data
[static]
 

static unsigned cyclone::CollisionDetector::sphereAndHalfSpace const CollisionSphere sphere,
const CollisionPlane plane,
CollisionData data
[static]
 

static unsigned cyclone::CollisionDetector::sphereAndSphere const CollisionSphere one,
const CollisionSphere two,
CollisionData data
[static]
 

static unsigned cyclone::CollisionDetector::sphereAndTruePlane const CollisionSphere sphere,
const CollisionPlane plane,
CollisionData data
[static]
 


The documentation for this class was generated from the following file: