Modifications dans Player
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user