]> git.localhorst.tv Git - blank.git/blobdiff - src/app/runtime.cpp
fix normal in intersection ray/box intersection
[blank.git] / src / app / runtime.cpp
index 85d8280987b8459f3e50fbaac37d026a5924a92a..72a51da2b6eef53e7e376e3d60693bc472b28dde 100644 (file)
@@ -4,7 +4,7 @@
 #include "WorldState.hpp"
 
 #include "init.hpp"
-#include "../world/WorldSave.hpp"
+#include "../io/WorldSave.hpp"
 
 #include <cctype>
 #include <cstdlib>
@@ -49,7 +49,8 @@ Environment::Environment(Window &win, const string &asset_path)
 , window(win)
 , assets(asset_path)
 , counter() {
-
+       viewport.Clear();
+       window.Flip();
 }