Modifications dans Player

This commit is contained in:
MarcEricMartel
2021-12-01 21:21:45 -05:00
parent 97ffc34e24
commit b52c7528c8
136 changed files with 86 additions and 28 deletions

View File

@@ -2,9 +2,10 @@
#define _PLAYER_H__
#include "vector3.h"
#include "transformation.h"
#include "world.h"
#include <cmath>
class World;
class Player {
public:
Player(const Vector3f& position, float rotX = 0, float rotY = 0);
@@ -18,6 +19,7 @@ public:
Vector3f GetDirection() const;
Vector3f GetVelocity() const;
Vector3f GetPOV() const;
void Transpose(int& x, int& z);
private:
Vector3f m_position;