raycasting/camera.h
2023-04-02 00:41:32 +01:00

17 lines
240 B
C

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