Commit Graph

9 Commits

Author SHA1 Message Date
2c06859473 Refactor storing of ray-casted distances.
The ray-casting is done when camera_update() is called, and distances
are stored in the Camera struct.
2023-04-20 00:28:17 +01:00
33f673741b Remove draw scale from Camera struct. 2023-04-16 02:43:05 +01:00
bce640219f Refactor 2D map drawing.
2D level represntation now drawn as minimap in it's own texture.
2023-04-16 02:17:11 +01:00
ccfe9fd786 Ray casting now working 2023-04-07 05:34:22 +01:00
3402fb50d9 Implment getting horizontal/vertical intesections of ray casting. 2023-04-04 20:02:49 +01:00
ca50b6f4b7 Draw rays from camera and call ray casting stub function. 2023-04-02 01:21:02 +01:00
15c3fe7604 Update level drawing 2023-04-02 00:41:16 +01:00
dd703c3221 Some refactoring 2023-03-31 22:56:26 +01:00
fe02b79946 Create basic level grid representation. 2023-03-31 01:08:02 +01:00