From e74a6fd62f86407822783a8ed08320fc43240ecf Mon Sep 17 00:00:00 2001 From: Zutatensuppe Date: Sun, 8 Nov 2020 12:59:09 +0100 Subject: [PATCH] remove unneeded comments --- game/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/game/index.js b/game/index.js index 9bcc35e..9c5c208 100644 --- a/game/index.js +++ b/game/index.js @@ -367,7 +367,6 @@ async function createPuzzleTileBitmaps(bitmap, tiles, info) { const p3 = pointAdd(topRightEdge, { x: -shape.right * curvyCoords[i * 6 + 5] * tileRatio, y: curvyCoords[i * 6 + 4] * tileRatio }) path.bezierCurveTo(p1.x, p1.y, p2.x, p2.y, p3.x, p3.y); } - //Bottom const bottomRightEdge = pointAdd(topRightEdge, { x: 0, y: tileSize }) for (let i = 0; i < curvyCoords.length / 6; i++) { let p1 = pointSub(bottomRightEdge, { x: curvyCoords[i * 6 + 0] * tileRatio, y: shape.bottom * curvyCoords[i * 6 + 1] * tileRatio }) @@ -375,7 +374,6 @@ async function createPuzzleTileBitmaps(bitmap, tiles, info) { let p3 = pointSub(bottomRightEdge, { x: curvyCoords[i * 6 + 4] * tileRatio, y: shape.bottom * curvyCoords[i * 6 + 5] * tileRatio }) path.bezierCurveTo(p1.x, p1.y, p2.x, p2.y, p3.x, p3.y); } - //Left const bottomLeftEdge = pointSub(bottomRightEdge, { x: tileSize, y: 0 }) for (let i = 0; i < curvyCoords.length / 6; i++) { let p1 = pointSub(bottomLeftEdge, { x: -shape.left * curvyCoords[i * 6 + 1] * tileRatio, y: curvyCoords[i * 6 + 0] * tileRatio })