BGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.

This commit is contained in:
Mitchell Stokes 2014-05-19 21:13:33 -07:00
parent 71c11dbb02
commit 3abb2e0a3d
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -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();