Files
DoomRTX/neo/prey/Prey/physics_delta.h
T
2026-05-05 15:01:01 -07:00

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__ */