doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
idAFConstraint_BallAndSocketJointFriction Class Reference

#include <Physics_AF.h>

Inheritance diagram for idAFConstraint_BallAndSocketJointFriction:
idAFConstraint

Public Member Functions

 idAFConstraint_BallAndSocketJointFriction (void)
 
void Setup (idAFConstraint_BallAndSocketJoint *cc)
 
bool Add (idPhysics_AF *phys, float invTimeStep)
 
virtual void Translate (const idVec3 &translation)
 
virtual void Rotate (const idRotation &rotation)
 
- Public Member Functions inherited from idAFConstraint
 idAFConstraint (void)
 
virtual ~idAFConstraint (void)
 
constraintType_t GetType (void) const
 
const idStrGetName (void) const
 
idAFBodyGetBody1 (void) const
 
idAFBodyGetBody2 (void) const
 
void SetPhysics (idPhysics_AF *p)
 
const idVecXGetMultiplier (void)
 
virtual void SetBody1 (idAFBody *body)
 
virtual void SetBody2 (idAFBody *body)
 
virtual void DebugDraw (void)
 
virtual void GetForce (idAFBody *body, idVec6 &force)
 
virtual void GetCenter (idVec3 &center)
 
virtual void Save (idSaveGame *saveFile) const
 
virtual void Restore (idRestoreGame *saveFile)
 

Protected Member Functions

virtual void Evaluate (float invTimeStep)
 
virtual void ApplyFriction (float invTimeStep)
 
- Protected Member Functions inherited from idAFConstraint
void InitSize (int size)
 

Protected Attributes

idAFConstraint_BallAndSocketJointjoint
 
- Protected Attributes inherited from idAFConstraint
constraintType_t type
 
idStr name
 
idAFBodybody1
 
idAFBodybody2
 
idPhysics_AFphysics
 
idMatX J1
 
idMatX J2
 
idVecX c1
 
idVecX c2
 
idVecX lo
 
idVecX hi
 
idVecX e
 
idAFConstraintboxConstraint
 
int boxIndex [6]
 
idMatX invI
 
idMatX J
 
idVecX s
 
idVecX lm
 
int firstIndex
 
struct
idAFConstraint::constraintFlags_s 
fl
 

Detailed Description

Definition at line 217 of file Physics_AF.h.

Constructor & Destructor Documentation

idAFConstraint_BallAndSocketJointFriction::idAFConstraint_BallAndSocketJointFriction ( void  )

Definition at line 821 of file Physics_AF.cpp.

Member Function Documentation

bool idAFConstraint_BallAndSocketJointFriction::Add ( idPhysics_AF phys,
float  invTimeStep 
)

Definition at line 864 of file Physics_AF.cpp.

void idAFConstraint_BallAndSocketJointFriction::ApplyFriction ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 855 of file Physics_AF.cpp.

void idAFConstraint_BallAndSocketJointFriction::Evaluate ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 846 of file Physics_AF.cpp.

void idAFConstraint_BallAndSocketJointFriction::Rotate ( const idRotation rotation)
virtual

Reimplemented from idAFConstraint.

Definition at line 904 of file Physics_AF.cpp.

void idAFConstraint_BallAndSocketJointFriction::Setup ( idAFConstraint_BallAndSocketJoint cc)

Definition at line 835 of file Physics_AF.cpp.

void idAFConstraint_BallAndSocketJointFriction::Translate ( const idVec3 translation)
virtual

Reimplemented from idAFConstraint.

Definition at line 896 of file Physics_AF.cpp.

Member Data Documentation

idAFConstraint_BallAndSocketJoint* idAFConstraint_BallAndSocketJointFriction::joint
protected

Definition at line 227 of file Physics_AF.h.


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