mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
inventory regions, minor refactor
This commit is contained in:
parent
a57fba4fa4
commit
49fdcdfb27
29 changed files with 259 additions and 160 deletions
|
|
@ -21,7 +21,7 @@ const float JUMP_FORCE = 8.0f;
|
|||
Player::Player(glm::vec3 position, float speed) :
|
||||
speed(speed),
|
||||
chosenSlot(0),
|
||||
inventory(new Inventory(40)),
|
||||
inventory(new Inventory(0, 40)),
|
||||
camera(new Camera(position, glm::radians(90.0f))),
|
||||
spCamera(new Camera(position, glm::radians(90.0f))),
|
||||
tpCamera(new Camera(position, glm::radians(90.0f))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue