weapons are facing next to the camera

This commit is contained in:
Remco
2016-05-17 10:34:11 +02:00
parent 1693c74a6a
commit e5664e207d
5 changed files with 100 additions and 28 deletions
+13 -2
View File
@@ -7,11 +7,22 @@ class Player
public:
Player();
~Player();
struct Eyes
{
float posX = 0;
float posY = 0;
float posZ = 0;
float rotX = 0;
float rotY = 0;
} eyes;
void Draw_Player(void);
private:
int level;
int xp;
Weapon rigth;
Weapon left;
Weapon* right = nullptr;
Weapon* left = nullptr;
vector<Weapon> weapons;
};