diff options
author | quou <quou@disroot.org> | 2024-07-27 15:44:45 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-27 15:49:46 +1000 |
commit | 4cacaad9e392bf5fe63a90019411f21a72db0e7a (patch) | |
tree | 34e3cd4d576c8cbafca6f8f4d5ef381dece3a325 /render.h | |
parent | b8b18d982af8cc8e10372f90c6c7bff4f0b58f69 (diff) |
WIP raycasting
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3,6 +3,8 @@ #include "rect.h" +struct Map; + typedef struct { unsigned char r, g, b, a; } Colour; @@ -125,4 +127,12 @@ void ren_mesh( const Texture* tex ); +void ren_map( + Renderer* r, + const struct Map* map, + const int* pos, + const int* dir, + const int* left +); + #endif |