diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-04 09:14:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-04 09:14:10 +0400 |
commit | 856dba000b09409bf6da2865bca2c79dba378683 (patch) | |
tree | 8a28a274a6f21fbfbb93dc4ac7b50c98ac604c82 /source/gameengine/Ketsji/KX_GameObject.h | |
parent | d595f6f2034ff9b74064975f351b7c42a8c651ac (diff) |
no need to store the physics env in each KX_GameObject
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 32df5803f31..88ef44c41c6 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -94,8 +94,6 @@ protected: KX_IPhysicsController* m_pPhysicsController1; PHY_IGraphicController* m_pGraphicController; - // used for ray casting - PHY_IPhysicsEnvironment* m_pPhysicsEnvironment; STR_String m_testPropName; bool m_xray; KX_GameObject* m_pHitObject; @@ -334,20 +332,6 @@ public: bool ang_vel_local ); - - /** - * @return a pointer to the physics environment in use during the game, for rayCasting - */ - PHY_IPhysicsEnvironment* GetPhysicsEnvironment() - { - return m_pPhysicsEnvironment; - } - - void SetPhysicsEnvironment(PHY_IPhysicsEnvironment* physicsEnvironment) - { - m_pPhysicsEnvironment = physicsEnvironment; - } - /** * @return a pointer to the physics controller owned by this class. */ |