raycasting/level.h
Sheldon Lee 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

12 lines
247 B
C

#ifndef LEVEL_H
#define LEVEL_H
#include <SFML/Graphics.hpp>
int level_init();
void level_update(sf::RenderTarget* renderTarget, unsigned int drawSize);
void level_end();
float level_rayCastDistance(sf::Vector2f point, float direction);
#endif