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:
Foxar committed 2020-12-04 16:50:25 +01:00
1 parent a05b4fbd0f
commit b547de9cbb
2 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -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)
{