Add first person view.

This commit is contained in:
2023-04-20 00:31:41 +01:00
parent 2c06859473
commit 787b25239e
3 changed files with 53 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef FIRSTPERSON_H
#define FIRSTPERSON_H
#include <SFML/Graphics.hpp>
int firstperson_init(unsigned int width, unsigned int height);
void firstperson_update(sf::RenderTarget* renderTarget);
void firstperson_setTexturePosition(float x, float y);
#endif