Lots of work done moving the various raycasting implementations over to a

consolidated RayCaster class.
This commit is contained in:
MitchellHansen
2016-11-02 00:09:32 -07:00
parent 45627e6a85
commit 518cc757a3
9 changed files with 874 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ public:
void register_map(Old_Map* map);
void register_lights();
void create_viewport(float v_fov, float h_fov, int height, int width);
void register_light(light l);
void register_light(Light l);
void draw();
sf::RenderWindow* get_window();
@@ -51,7 +51,7 @@ private:
sf::Uint8 *drawing_surface;
sf::RenderWindow* window;
std::vector<light> lights;
std::vector<Light> lights;
Old_Map* map;
Camera* camera;
sf::Uint8 *view_matrix;