mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 16:20:42 +02:00
35 lines
612 B
C++
35 lines
612 B
C++
#ifndef __PREY_PHYSICS_DELTA_H__
|
|
#define __PREY_PHYSICS_DELTA_H__
|
|
|
|
|
|
|
|
class hhPhysics_Delta : public idPhysics_Actor {
|
|
|
|
public:
|
|
CLASS_PROTOTYPE( hhPhysics_Delta );
|
|
|
|
hhPhysics_Delta();
|
|
|
|
void SetOrigin( const idVec3 &newOrigin, int id = -1 );
|
|
void SetAxis( const idMat3 &newAxis, int id = -1 );
|
|
|
|
|
|
bool Evaluate( int timeStepMSec, int endTimeMSec );
|
|
|
|
|
|
void SetDelta( const idVec3 &d );
|
|
|
|
void Activate();
|
|
|
|
void Save( idSaveGame *savefile ) const;
|
|
void Restore( idRestoreGame *savefile );
|
|
|
|
protected:
|
|
void Rest();
|
|
|
|
idVec3 delta;
|
|
|
|
};
|
|
|
|
#endif /* __PREY_PHYSICS_DELTA_H__ */
|