about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-10-26 10:26:29 +0530
committerAndinus <andinus@nand.sh>2021-10-26 10:26:29 +0530
commit838034913f6e249c1ad9866a6fd647b661e4855a (patch)
tree0a900deeefe1dbaf4835ca497a353963d82f8252 /src
parent3b7af88f5480f2f95d95d9d7628495be3dd3e968 (diff)
downloaddorado-838034913f6e249c1ad9866a6fd647b661e4855a.tar.gz
Tidy
Diffstat (limited to 'src')
-rw-r--r--src/algorithms/2d-transformations/Translation.svelte8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/algorithms/2d-transformations/Translation.svelte b/src/algorithms/2d-transformations/Translation.svelte
index dc1721a..a910cc6 100644
--- a/src/algorithms/2d-transformations/Translation.svelte
+++ b/src/algorithms/2d-transformations/Translation.svelte
@@ -23,13 +23,9 @@
     points = points.filter(item => item.id !== Number(id));
   }
 
-  
-
   function translatePoints() {
-    // Reset values.
-  let pointsArray = {x: [], y: []};
-  let translatedPointsArray = {x: [], y: []};
-
+    let pointsArray = {x: [], y: []};
+    let translatedPointsArray = {x: [], y: []};
 
     // Store the points in a matrix like array.
     for (const point of points) {