raycasting/firstperson.h

12 lines
294 B
C
Raw Permalink Normal View History

2023-04-20 07:31:41 +08:00
#ifndef FIRSTPERSON_H
#define FIRSTPERSON_H
#include <SFML/Graphics.hpp>
#include "camera.h"
2023-04-20 07:31:41 +08:00
int firstperson_init(unsigned int width, unsigned int height);
void firstperson_update(sf::RenderTarget* renderTarget, Camera* camera);
2023-04-20 07:31:41 +08:00
void firstperson_setTexturePosition(float x, float y);
#endif