Implement basic first person view rendering.
This commit is contained in:
+2
-1
@@ -2,9 +2,10 @@
|
||||
#define FIRSTPERSON_H
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include "camera.h"
|
||||
|
||||
int firstperson_init(unsigned int width, unsigned int height);
|
||||
void firstperson_update(sf::RenderTarget* renderTarget);
|
||||
void firstperson_update(sf::RenderTarget* renderTarget, Camera* camera);
|
||||
void firstperson_setTexturePosition(float x, float y);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user