diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-02-21 22:30:11 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-02-21 22:30:11 +0400 |
commit | 815e00917dcb4137f9687ab602f527920fa8c41d (patch) | |
tree | 4c089bc7f19a9249f59428268c8aa99edad1b438 /source/gameengine/Physics/common/PHY_IPhysicsController.h | |
parent | 6b600d079351fa5490d74d5661c47346196e57f3 (diff) |
BGE cleanup: Removing the PHY__Vector classes and replacing them with MT_Vectors. The PHY__Vectors didn't offer anything (not even any real abstraction) and they required annoying MT_Vector <-> PHY_Vector conversions all over the place. No functional changes.
Diffstat (limited to 'source/gameengine/Physics/common/PHY_IPhysicsController.h')
-rw-r--r-- | source/gameengine/Physics/common/PHY_IPhysicsController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Physics/common/PHY_IPhysicsController.h b/source/gameengine/Physics/common/PHY_IPhysicsController.h index 871edeec752..e6f26bc5b1b 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsController.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsController.h @@ -66,7 +66,7 @@ class PHY_IPhysicsController : public PHY_IController virtual void getOrientation(float &quatImag0,float &quatImag1,float &quatImag2,float &quatReal)=0; virtual void setOrientation(float quatImag0,float quatImag1,float quatImag2,float quatReal)=0; virtual void setPosition(float posX,float posY,float posZ)=0; - virtual void getPosition(PHY__Vector3& pos) const=0; + virtual void getPosition(class MT_Vector3& pos) const=0; virtual void setScaling(float scaleX,float scaleY,float scaleZ)=0; // physics methods @@ -100,7 +100,7 @@ class PHY_IPhysicsController : public PHY_IController virtual float GetLinVelocityMax() const=0; virtual void SetLinVelocityMax(float val) = 0; - PHY__Vector3 GetWorldPosition(PHY__Vector3& localpos); + class MT_Vector3 GetWorldPosition(class MT_Vector3& localpos); #ifdef WITH_CXX_GUARDEDALLOC |