From 58685528e9da85b8614d75e8adfc5e317524da65 Mon Sep 17 00:00:00 2001 From: ENGO150 <v.smejkal06@gmail.com> Date: Sun, 28 May 2023 17:24:35 +0200 Subject: [PATCH] added turn_right broken todo --- res/panorama/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/panorama/script.js b/res/panorama/script.js index 393bf0b..66a360d 100644 --- a/res/panorama/script.js +++ b/res/panorama/script.js @@ -55,7 +55,7 @@ function turn_left() function turn_right() { - if (turn > 0 && (Math.abs(turn) - (1/MOVE_PIECES / 2)) >= 0) + if (turn > 0 && (Math.abs(turn) - (1/MOVE_PIECES / 2)) >= 0) //TODO: Broken { //ctx.drawImage(img, img.width - WIDTH * MOVE_PIECES * (Math.abs(turn) - (1/MOVE_PIECES / 2)), 0, img.width, img.height, 0, 0, WIDTH * MOVE_PIECES * (Math.abs(turn) - (1/MOVE_PIECES / 2)), WIDTH * ASPECT_RATIO); //DRAW RIGHT PART ON THE LEFT SIDE //TODO