diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-19 20:11:47 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-19 20:11:47 +0200 |
commit | 9f784e81f81651bed087902f9f3afee113e56148 (patch) | |
tree | ae89f6dabe2443b39aba292673027d197fc120e6 /src/object/motion/motionvehicle.h | |
parent | b8027ce9a7f050b95846a668a02f5801331e127f (diff) | |
download | colobot-9f784e81f81651bed087902f9f3afee113e56148.tar.gz colobot-9f784e81f81651bed087902f9f3afee113e56148.tar.bz2 colobot-9f784e81f81651bed087902f9f3afee113e56148.zip |
Switched to new implementation of the rest of math module
- changed structs from D3DVECTOR to Math::Vector
and from D3DMATRIX to Math::Matrix
- changed functions to new Math namespace functions
- moved mainmovie module from graphics to object
- added Get and Set to Math::Matrix
Diffstat (limited to 'src/object/motion/motionvehicle.h')
-rw-r--r-- | src/object/motion/motionvehicle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/motion/motionvehicle.h b/src/object/motion/motionvehicle.h index b9ac0c9..8bc4dd2 100644 --- a/src/object/motion/motionvehicle.h +++ b/src/object/motion/motionvehicle.h @@ -40,7 +40,7 @@ public: ~CMotionVehicle();
void DeleteObject(bool bAll=false);
- bool Create(D3DVECTOR pos, float angle, ObjectType type, float power);
+ bool Create(Math::Vector pos, float angle, ObjectType type, float power);
bool EventProcess(const Event &event);
bool RetTraceDown();
@@ -68,9 +68,9 @@ protected: float m_armMember;
float m_canonTime;
float m_lastTimeCanon;
- D3DVECTOR m_wheelLastPos;
- D3DVECTOR m_wheelLastAngle;
- D3DVECTOR m_posKey;
+ Math::Vector m_wheelLastPos;
+ Math::Vector m_wheelLastAngle;
+ Math::Vector m_posKey;
bool m_bFlyFix;
bool m_bTraceDown;
int m_traceColor;
|