Cyclone | Cyclone: cyclone::CollisionPrimitive Class Reference |
#include <collide_fine.h>
Inheritance diagram for cyclone::CollisionPrimitive:
Public Member Functions | |
void | calculateInternals () |
Calculates the internals for the primitive. | |
Vector3 | getAxis (unsigned index) const |
This is a convenience function to allow access to the axis vectors in the transform for this primitive. | |
const Matrix4 & | getTransform () const |
Returns the resultant transform of the primitive, calculated from the combined offset of the primitive and the transform (orientation + position) of the rigid body to which it is attached. | |
Public Attributes | |
friend | IntersectionTests |
This class exists to help the collision detector and intersection routines, so they should have access to its data. | |
friend | CollisionDetector |
RigidBody * | body |
The rigid body that is represented by this primitive. | |
Matrix4 | offset |
The offset of this primitive from the given rigid body. | |
Protected Attributes | |
Matrix4 | transform |
The resultant transform of the primitive. |
|
Calculates the internals for the primitive.
|
|
This is a convenience function to allow access to the axis vectors in the transform for this primitive.
|
|
Returns the resultant transform of the primitive, calculated from the combined offset of the primitive and the transform (orientation + position) of the rigid body to which it is attached.
|
|
The rigid body that is represented by this primitive.
|
|
|
|
This class exists to help the collision detector and intersection routines, so they should have access to its data.
|
|
The offset of this primitive from the given rigid body.
|
|
The resultant transform of the primitive. This is calculated by combining the offset of the primitive with the transform of the rigid body. |
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:19 2006). |