raycasting/camera.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

18 lines
239 B
C

#ifndef CAMERA_H
#define CAMERA_H
#include <SFML/Graphics.hpp>
typedef struct
{
sf::Vector2f pos;
float direction;
unsigned int resolution;
float fov;
float drawScale;
} Camera;
void camera_update(Camera* camera, float t);
#endif