introduce matrix class and use it

This commit is contained in:
Eduardo Bart
2011-12-24 21:14:12 -02:00
parent 339697fce9
commit 3abbf5255e
22 changed files with 366 additions and 317 deletions

View File

@@ -199,16 +199,13 @@ void Application::exit()
void Application::poll()
{
// poll input events
if(m_appFlags & Fw::AppEnableGraphics)
if(m_appFlags & Fw::AppEnableGraphics) {
g_window.poll();
g_particleManager.update();
}
// poll network events
Connection::poll();
// poll application genareted events
g_dispatcher.poll();
g_particleManager.update();
}
void Application::render()
@@ -221,8 +218,8 @@ void Application::render()
void Application::resize(const Size& size)
{
g_ui.resize(size);
g_graphics.resize(size);
g_ui.resize(size);
}
void Application::inputEvent(const InputEvent& event)