mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
SP and TP cameras
This commit is contained in:
parent
3ae3001227
commit
20caa4b980
9 changed files with 123 additions and 7 deletions
|
|
@ -20,6 +20,9 @@ Player::Player(glm::vec3 position, float speed) :
|
|||
speed(speed),
|
||||
choosenBlock(1) {
|
||||
camera = new Camera(position, glm::radians(90.0f));
|
||||
currentViewCamera = camera;
|
||||
SPCamera = new Camera(position, glm::radians(90.0f));
|
||||
TPCamera = new Camera(position, glm::radians(90.0f));
|
||||
hitbox = new Hitbox(position, vec3(0.3f,0.9f,0.3f));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue