move utils to include. utils implimentations should be headers
This commit is contained in:
18
include/utils/Window/Window.cpp
Normal file
18
include/utils/Window/Window.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "Window.h"
|
||||
|
||||
#include "pch.hpp"
|
||||
|
||||
namespace Archimedes {
|
||||
|
||||
void Window::doFrame() {
|
||||
|
||||
window.pollEvents();
|
||||
|
||||
window.getSize(renderer.w, renderer.h);
|
||||
|
||||
renderer.render();
|
||||
|
||||
window.doFrame();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user