diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2014-05-20 08:13:33 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-05-20 08:14:18 +0400 |
commit | 3abb2e0a3de51544d66cb85d5e5f8aad6845aac1 (patch) | |
tree | c80799915918799c84c18b80c2a38e5c45a0fcd1 /source/gameengine | |
parent | 71c11dbb02e3f41ae5c1e3c965fae0ce89ae4898 (diff) |
BGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_Scene.cpp | 11 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_Scene.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp index 7cab6a8659c..4d2a842a7e5 100644 --- a/source/gameengine/Ketsji/KX_Scene.cpp +++ b/source/gameengine/Ketsji/KX_Scene.cpp @@ -1348,17 +1348,6 @@ void KX_Scene::SetCameraOnTop(KX_Camera* cam) } } - -void KX_Scene::UpdateMeshTransformations() -{ - // do this incrementally in the future - for (int i = 0; i < m_objectlist->GetCount(); i++) - { - KX_GameObject* gameobj = (KX_GameObject*)m_objectlist->GetValue(i); - gameobj->GetOpenGLMatrix(); - } -} - void KX_Scene::MarkVisible(SG_Tree *node, RAS_IRasterizer* rasty, KX_Camera* cam, int layer) { int intersect = KX_Camera::INTERSECT; diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h index 50fac923fe2..2e1ee9f101d 100644 --- a/source/gameengine/Ketsji/KX_Scene.h +++ b/source/gameengine/Ketsji/KX_Scene.h @@ -524,7 +524,6 @@ public: void SetWorldInfo(class KX_WorldInfo* wi); KX_WorldInfo* GetWorldInfo(); void CalculateVisibleMeshes(RAS_IRasterizer* rasty, KX_Camera *cam, int layer=0); - void UpdateMeshTransformations(); KX_Camera* GetpCamera(); NG_NetworkDeviceInterface* GetNetworkDeviceInterface(); NG_NetworkScene* GetNetworkScene(); |