Ray casting now working

This commit is contained in:
2023-04-07 05:34:22 +01:00
parent 3402fb50d9
commit ccfe9fd786
3 changed files with 71 additions and 48 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ static sf::Uint32 style = sf::Style::Titlebar;
static sf::RenderWindow window(sf::VideoMode(500, 500), "Raycasting", style);
static sf::Clock timer;
static Camera camera = { sf::Vector2f(300.f, 250.f), 0.f, 50, 2.0f*PI };
static Camera camera = { sf::Vector2f(300.f, 250.f), 0.f, 100, 2.0f*PI };
int view_init()
{