really bad crashing, need to debug this on a cpu only machine

This commit is contained in:
2018-03-02 22:21:44 -08:00
parent 8f822e14f7
commit 8f6ecae4cb
2 changed files with 234 additions and 212 deletions

View File

@@ -51,8 +51,8 @@ bool Application::init_clcaster() {
raycaster->assign_map(map);
camera = std::make_shared<Camera>(
sf::Vector3f(30.5f, 30.5f, 30.5f), // Starting position
sf::Vector2f(1.57f, 0.0f), // Direction
sf::Vector3f(30.5f, 30.5f, 10.5f), // Starting position
sf::Vector2f(1.50f, -2.0f), // Direction
window.get()
);
raycaster->assign_camera(camera);