added turn_right broken todo

This commit is contained in:
Václav Šmejkal 2023-05-28 17:24:35 +02:00
parent 546f9f37ba
commit 58685528e9
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -55,7 +55,7 @@ function turn_left()
function turn_right() 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 //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