29 #ifndef __PHYSICS_PARAMETRIC_H__
30 #define __PHYSICS_PARAMETRIC_H__
100 void SetMass(
float mass,
int id = -1 );
101 float GetMass(
int id = -1 )
const;
109 bool Evaluate(
int timeStepMSec,
int endTimeMSec );
const idVec3 & GetOrigin(int id=0) const
const trace_t * GetBlockingInfo(void) const
void Restore(idRestoreGame *savefile)
bool IsPushable(void) const
void UpdateTime(int endTimeMSec)
void SetContents(int contents, int id=-1)
void SetMaster(idEntity *master, const bool orientated=true)
const idMat3 & GetAxis(int id=0) const
void SetAngularExtrapolation(extrapolation_t type, int time, int duration, const idAngles &base, const idAngles &speed, const idAngles &baseSpeed)
struct parametricPState_s parametricPState_t
extrapolation_t GetLinearExtrapolationType(void) const
~idPhysics_Parametric(void)
idPhysics_Parametric(void)
idExtrapolate< idAngles > angularExtrapolation
void SetLinearVelocity(const idVec3 &newLinearVelocity, int id=0)
idCurve_Spline< idVec3 > * spline
void Translate(const idVec3 &translation, int id=-1)
int GetContents(int id=-1) const
const idBounds & GetAbsBounds(int id=-1) const
idInterpolateAccelDecelLinear< idAngles > angularInterpolation
GLuint GLuint GLsizei GLenum type
void SetLinearExtrapolation(extrapolation_t type, int time, int duration, const idVec3 &base, const idVec3 &speed, const idVec3 &baseSpeed)
void SetAngularInterpolation(int time, int accelTime, int decelTime, int duration, const idAngles &startAng, const idAngles &endAng)
extrapolation_t GetAngularExtrapolationType(void) const
float GetMass(int id=-1) const
void SetAxis(const idMat3 &newAxis, int id=-1)
void Save(idSaveGame *savefile) const
void SetClipModel(idClipModel *model, float density, int id=0, bool freeOld=true)
int GetAngularEndTime(void) const
int GetNumClipModels(void) const
idExtrapolate< idVec3 > linearExtrapolation
bool Evaluate(int timeStepMSec, int endTimeMSec)
void SetOrigin(const idVec3 &newOrigin, int id=-1)
int GetSplineDeceleration(void) const
void GetAngles(idAngles &curAngles) const
int GetRestStartTime(void) const
void GetLocalAngles(idAngles &curAngles) const
void Rotate(const idRotation &rotation, int id=-1)
int GetLinearEndTime(void) const
idEntity * GetBlockingEntity(void) const
bool UsingSplineAngles(void) const
idInterpolateAccelDecelLinear< float > splineInterpolate
parametricPState_t current
idClipModel * GetClipModel(int id=0) const
void SetAngularVelocity(const idVec3 &newAngularVelocity, int id=0)
const idVec3 & GetLinearVelocity(int id=0) const
void SetLinearInterpolation(int time, int accelTime, int decelTime, int duration, const idVec3 &startPos, const idVec3 &endPos)
void GetLocalOrigin(idVec3 &curOrigin) const
bool TestIfAtRest(void) const
bool IsAtRest(void) const
CLASS_PROTOTYPE(idPhysics_Parametric)
void SetSpline(idCurve_Spline< idVec3 > *spline, int accelTime, int decelTime, bool useSplineAngles)
const idBounds & GetBounds(int id=-1) const
void ReadFromSnapshot(const idBitMsgDelta &msg)
bool IsPusher(void) const
void SetPusher(int flags)
idInterpolateAccelDecelLinear< idVec3 > linearInterpolation
void WriteToSnapshot(idBitMsgDelta &msg) const
const idVec3 & GetAngularVelocity(int id=0) const
int GetSplineAcceleration(void) const
void SetMass(float mass, int id=-1)
idCurve_Spline< idVec3 > * GetSpline(void) const