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

12 lines
252 B
C

#ifndef MINIMAP_H
#define MINIMAP_H
#include <SFML/Graphics.hpp>
#include "camera.h"
int minimap_init(unsigned int size);
void minimap_update(sf::RenderTarget* renderTarget, Camera* camera);
void minimap_setTexturePosition(float x, float y);
#endif