doom3-gpl
Doom 3 GPL source release
|
#include <Physics_AF.h>
Classes | |
struct | constraintFlags_s |
Public Member Functions | |
idAFConstraint (void) | |
virtual | ~idAFConstraint (void) |
constraintType_t | GetType (void) const |
const idStr & | GetName (void) const |
idAFBody * | GetBody1 (void) const |
idAFBody * | GetBody2 (void) const |
void | SetPhysics (idPhysics_AF *p) |
const idVecX & | GetMultiplier (void) |
virtual void | SetBody1 (idAFBody *body) |
virtual void | SetBody2 (idAFBody *body) |
virtual void | DebugDraw (void) |
virtual void | GetForce (idAFBody *body, idVec6 &force) |
virtual void | Translate (const idVec3 &translation) |
virtual void | Rotate (const idRotation &rotation) |
virtual void | GetCenter (idVec3 ¢er) |
virtual void | Save (idSaveGame *saveFile) const |
virtual void | Restore (idRestoreGame *saveFile) |
Protected Member Functions | |
virtual void | Evaluate (float invTimeStep) |
virtual void | ApplyFriction (float invTimeStep) |
void | InitSize (int size) |
Protected Attributes | |
constraintType_t | type |
idStr | name |
idAFBody * | body1 |
idAFBody * | body2 |
idPhysics_AF * | physics |
idMatX | J1 |
idMatX | J2 |
idVecX | c1 |
idVecX | c2 |
idVecX | lo |
idVecX | hi |
idVecX | e |
idAFConstraint * | boxConstraint |
int | boxIndex [6] |
idMatX | invI |
idMatX | J |
idVecX | s |
idVecX | lm |
int | firstIndex |
struct idAFConstraint::constraintFlags_s | fl |
Friends | |
class | idPhysics_AF |
class | idAFTree |
Definition at line 93 of file Physics_AF.h.
idAFConstraint::idAFConstraint | ( | void | ) |
Definition at line 78 of file Physics_AF.cpp.
|
virtual |
Definition at line 110 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Suspension, idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_ContactFriction, idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Line, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_HingeFriction, idAFConstraint_Hinge, idAFConstraint_CylindricalJoint, idAFConstraint_UniversalJointFriction, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJointFriction, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 164 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Suspension, idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_ContactFriction, idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Line, idAFConstraint_Slider, idAFConstraint_Hinge, idAFConstraint_CylindricalJoint, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 220 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Suspension, idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_ContactFriction, idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Line, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_HingeFriction, idAFConstraint_Hinge, idAFConstraint_CylindricalJoint, idAFConstraint_UniversalJointFriction, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJointFriction, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 155 of file Physics_AF.cpp.
Definition at line 103 of file Physics_AF.h.
Definition at line 104 of file Physics_AF.h.
Reimplemented in idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Slider, idAFConstraint_Hinge, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 211 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Hinge, idAFConstraint_UniversalJoint, and idAFConstraint_BallAndSocketJoint.
Definition at line 172 of file Physics_AF.cpp.
Definition at line 146 of file Physics_AF.cpp.
Definition at line 102 of file Physics_AF.h.
|
inline |
Definition at line 101 of file Physics_AF.h.
Definition at line 228 of file Physics_AF.cpp.
|
virtual |
Reimplemented in idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_Hinge, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 251 of file Physics_AF.cpp.
|
virtual |
Reimplemented in idAFConstraint_Suspension, idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_ContactFriction, idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Line, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_HingeFriction, idAFConstraint_Hinge, idAFConstraint_CylindricalJoint, idAFConstraint_UniversalJointFriction, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJointFriction, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 202 of file Physics_AF.cpp.
|
virtual |
Reimplemented in idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_Hinge, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 242 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Fixed.
Definition at line 118 of file Physics_AF.cpp.
Reimplemented in idAFConstraint_Fixed.
Definition at line 132 of file Physics_AF.cpp.
|
inline |
Definition at line 105 of file Physics_AF.h.
Reimplemented in idAFConstraint_Suspension, idAFConstraint_PyramidLimit, idAFConstraint_ConeLimit, idAFConstraint_ContactFriction, idAFConstraint_Contact, idAFConstraint_Spring, idAFConstraint_Plane, idAFConstraint_Line, idAFConstraint_Slider, idAFConstraint_HingeSteering, idAFConstraint_HingeFriction, idAFConstraint_Hinge, idAFConstraint_CylindricalJoint, idAFConstraint_UniversalJointFriction, idAFConstraint_UniversalJoint, idAFConstraint_BallAndSocketJointFriction, idAFConstraint_BallAndSocketJoint, and idAFConstraint_Fixed.
Definition at line 193 of file Physics_AF.cpp.
|
friend |
Definition at line 96 of file Physics_AF.h.
|
friend |
Definition at line 95 of file Physics_AF.h.
|
protected |
Definition at line 120 of file Physics_AF.h.
|
protected |
Definition at line 121 of file Physics_AF.h.
|
protected |
Definition at line 128 of file Physics_AF.h.
|
protected |
Definition at line 129 of file Physics_AF.h.
|
protected |
Definition at line 126 of file Physics_AF.h.
|
protected |
Definition at line 126 of file Physics_AF.h.
|
protected |
Definition at line 127 of file Physics_AF.h.
|
protected |
Definition at line 136 of file Physics_AF.h.
|
protected |
|
protected |
Definition at line 127 of file Physics_AF.h.
|
protected |
Definition at line 132 of file Physics_AF.h.
|
protected |
Definition at line 133 of file Physics_AF.h.
|
protected |
Definition at line 125 of file Physics_AF.h.
|
protected |
Definition at line 125 of file Physics_AF.h.
|
protected |
Definition at line 135 of file Physics_AF.h.
|
protected |
Definition at line 127 of file Physics_AF.h.
|
protected |
Definition at line 119 of file Physics_AF.h.
|
protected |
Definition at line 122 of file Physics_AF.h.
|
protected |
Definition at line 134 of file Physics_AF.h.
|
protected |
Definition at line 118 of file Physics_AF.h.