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_HingeSteering Class Reference

#include <Physics_AF.h>

Inheritance diagram for idAFConstraint_HingeSteering:
idAFConstraint

Public Member Functions

 idAFConstraint_HingeSteering (void)
 
void Setup (idAFConstraint_Hinge *cc)
 
void SetSteerAngle (const float degrees)
 
void SetSteerSpeed (const float speed)
 
void SetEpsilon (const float e)
 
bool Add (idPhysics_AF *phys, float invTimeStep)
 
virtual void Translate (const idVec3 &translation)
 
virtual void Rotate (const idRotation &rotation)
 
virtual void Save (idSaveGame *saveFile) const
 
virtual void Restore (idRestoreGame *saveFile)
 
- 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)
 

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_Hingehinge
 
float steerAngle
 
float steerSpeed
 
float epsilon
 
- 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 375 of file Physics_AF.h.

Constructor & Destructor Documentation

idAFConstraint_HingeSteering::idAFConstraint_HingeSteering ( void  )

Definition at line 2138 of file Physics_AF.cpp.

Member Function Documentation

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

Definition at line 2205 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::ApplyFriction ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 2196 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::Evaluate ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 2187 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::Restore ( idRestoreGame saveFile)
virtual

Reimplemented from idAFConstraint.

Definition at line 2165 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::Rotate ( const idRotation rotation)
virtual

Reimplemented from idAFConstraint.

Definition at line 2258 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::Save ( idSaveGame saveFile) const
virtual

Reimplemented from idAFConstraint.

Definition at line 2154 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::SetEpsilon ( const float  e)
inline

Definition at line 382 of file Physics_AF.h.

void idAFConstraint_HingeSteering::SetSteerAngle ( const float  degrees)
inline

Definition at line 380 of file Physics_AF.h.

void idAFConstraint_HingeSteering::SetSteerSpeed ( const float  speed)
inline

Definition at line 381 of file Physics_AF.h.

void idAFConstraint_HingeSteering::Setup ( idAFConstraint_Hinge cc)

Definition at line 2176 of file Physics_AF.cpp.

void idAFConstraint_HingeSteering::Translate ( const idVec3 translation)
virtual

Reimplemented from idAFConstraint.

Definition at line 2250 of file Physics_AF.cpp.

Member Data Documentation

float idAFConstraint_HingeSteering::epsilon
protected

Definition at line 394 of file Physics_AF.h.

idAFConstraint_Hinge* idAFConstraint_HingeSteering::hinge
protected

Definition at line 391 of file Physics_AF.h.

float idAFConstraint_HingeSteering::steerAngle
protected

Definition at line 392 of file Physics_AF.h.

float idAFConstraint_HingeSteering::steerSpeed
protected

Definition at line 393 of file Physics_AF.h.


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