diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
commit | 2fb82920059257fd7ac8e33bfe53de13e7ed53bd (patch) | |
tree | cb8de3a839cb9878d0869d4e436a235346109c16 /source/gameengine/Physics/common | |
parent | c2a1dcf6218cbd56126a5deb1aeaf212d67e54cb (diff) |
style cleanup
Diffstat (limited to 'source/gameengine/Physics/common')
4 files changed, 9 insertions, 9 deletions
diff --git a/source/gameengine/Physics/common/PHY_DynamicTypes.h b/source/gameengine/Physics/common/PHY_DynamicTypes.h index 69bbc7745e0..6994706ce2d 100644 --- a/source/gameengine/Physics/common/PHY_DynamicTypes.h +++ b/source/gameengine/Physics/common/PHY_DynamicTypes.h @@ -32,11 +32,11 @@ struct PHY__Vector2 operator const float* () const { return &m_vec[0]; - } + } operator float* () { return &m_vec[0]; - } + } }; struct PHY__Vector3 @@ -46,11 +46,11 @@ struct PHY__Vector3 operator const float* () const { return &m_vec[0]; - } + } operator float* () { return &m_vec[0]; - } + } }; struct PHY__Vector4 @@ -75,11 +75,11 @@ struct PHY__Vector4 operator const float* () const { return &m_vec[0]; - } + } operator float* () { return &m_vec[0]; - } + } }; //typedef float PHY__Vector3[4]; diff --git a/source/gameengine/Physics/common/PHY_IController.h b/source/gameengine/Physics/common/PHY_IController.h index 239ac3366e1..729abd8ec04 100644 --- a/source/gameengine/Physics/common/PHY_IController.h +++ b/source/gameengine/Physics/common/PHY_IController.h @@ -45,7 +45,7 @@ class PHY_IPhysicsEnvironment; controlled by the physics engine. This includes the physics objects and the graphics object for view frustrum and occlusion culling. */ -class PHY_IController +class PHY_IController { public: virtual ~PHY_IController(); diff --git a/source/gameengine/Physics/common/PHY_IMotionState.h b/source/gameengine/Physics/common/PHY_IMotionState.h index 2eb2a9f39cf..72ff37468ee 100644 --- a/source/gameengine/Physics/common/PHY_IMotionState.h +++ b/source/gameengine/Physics/common/PHY_IMotionState.h @@ -43,7 +43,7 @@ class PHY_IMotionState { - public: + public: virtual ~PHY_IMotionState(); virtual void getWorldPosition(float& posX,float& posY,float& posZ)=0; diff --git a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h index 30d63e6695d..3f8699d25d2 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h @@ -48,7 +48,7 @@ class PHY_IPhysicsController; */ struct PHY_RayCastResult { - PHY_IPhysicsController* m_controller; + PHY_IPhysicsController* m_controller; PHY__Vector3 m_hitPoint; PHY__Vector3 m_hitNormal; const RAS_MeshObject* m_meshObject; // !=NULL for mesh object (only for Bullet controllers) |