Perfectly working abs pos caching using dirty flags! :D

This commit is contained in:
2016-03-12 03:29:41 +01:00
parent ee5c13d463
commit 5baac926aa
6 changed files with 101 additions and 96 deletions
+7
View File
@@ -240,6 +240,13 @@ void Game::Tick()
m_RenderFrame->Clear();
m_EventBroker->Swap();
m_EventBroker->Clear();
//LOG_DEBUG("Recalculated positions: %i", Transform::RecalculatedPositions);
//LOG_DEBUG("Recalculated orientations: %i", Transform::RecalculatedOrientations);
//LOG_DEBUG("Recalculated scales: %i", Transform::RecalculatedScales);
Transform::RecalculatedPositions = 0;
Transform::RecalculatedOrientations = 0;
Transform::RecalculatedScales = 0;
}
int Game::parseArgs(int argc, char* argv[])