From 9f784e81f81651bed087902f9f3afee113e56148 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Tue, 19 Jun 2012 20:11:47 +0200 Subject: 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 --- src/object/task/taskbuild.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/object/task/taskbuild.h') diff --git a/src/object/task/taskbuild.h b/src/object/task/taskbuild.h index 44698bd..f1908d0 100644 --- a/src/object/task/taskbuild.h +++ b/src/object/task/taskbuild.h @@ -61,11 +61,11 @@ public: protected: Error FlatFloor(); - bool CreateBuilding(D3DVECTOR pos, float angle); + bool CreateBuilding(Math::Vector pos, float angle); void CreateLight(); void BlackLight(); CObject* SearchMetalObject(float &angle, float dMin, float dMax, float aLimit, Error &err); - void DeleteMark(D3DVECTOR pos, float radius); + void DeleteMark(Math::Vector pos, float radius); protected: ObjectType m_type; // type of construction @@ -82,7 +82,7 @@ protected: float m_speed; // speed of progression float m_angleY; // rotation angle of the vehicle float m_angleZ; // angle of rotation of the gun - D3DVECTOR m_buildingPos; // initial position of the building + Math::Vector m_buildingPos; // initial position of the building float m_buildingHeight; // height of the building int m_lightRank[TBMAXLIGHT];// lights for the effects int m_soundChannel; -- cgit v1.2.3-1-g7c22