Stretched water overlay to fullscreen, made it appear when camera's sugmerged, disabled the invalid rotation during submerging ( issue number #10 ), enlargened and fixed position of the island mesh.
This commit is contained in:
@@ -65,13 +65,14 @@ void Player::update(Pad &t_pad)
|
||||
isJumping = true;
|
||||
else
|
||||
isJumping = false;
|
||||
|
||||
/*
|
||||
if (lift < 0)
|
||||
mesh.rotation.y = 1;
|
||||
else if (lift > 0)
|
||||
mesh.rotation.y = -1;
|
||||
else
|
||||
mesh.rotation.y = 0;
|
||||
*/
|
||||
|
||||
if (velocity > 0 && mesh.getCurrentAnimationFrame() == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user