Refactor 2D map drawing.

2D level represntation now drawn as minimap in it's own texture.
This commit is contained in:
2023-04-16 02:17:11 +01:00
parent 0acfb6e0a9
commit bce640219f
8 changed files with 162 additions and 125 deletions
+2 -1
View File
@@ -9,8 +9,9 @@ typedef struct
float direction;
unsigned int resolution;
float fov;
float drawScale;
} Camera;
void camera_update(Camera* camera, sf::RenderWindow* window, float t);
void camera_update(Camera* camera, float t);
#endif