Further work in testing OctTree

This commit is contained in:
verysecrethero
2015-12-09 13:29:15 +01:00
parent 1d0810db10
commit ed5cd392ab
4 changed files with 60 additions and 123 deletions
+11
View File
@@ -58,9 +58,20 @@ void Game::Tick()
m_EventBroker->Swap();
//movement
minPos.x += 0.001f;
//frameCounter++;
//if (frameCounter > 50) {
// m_World->createTestEntities(AABB(minPos, glm::vec3(0.1f, 0.4f, 0.6f)));
// frameCounter = 0;
//}
//auto transf = m_World->GetComponent(m_World->OctTreeEntityIdSaved, "Transform");
//((glm::vec3&)transf["Position"]).x += 0.001f;
//for (auto oneModel : m_World->allModels)
//{
//}
m_RenderQueueFactory->Update(m_World);
//wireframe