about summary refs log tree commit diff stats
path: root/src/algorithms
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-10-26 10:30:21 +0530
committerAndinus <andinus@nand.sh>2021-10-26 10:30:21 +0530
commit65723c9aeea6ff018f9dd9f464a38366e453a936 (patch)
tree3e839c374a1f418b83640564e255bff43633a700 /src/algorithms
parent838034913f6e249c1ad9866a6fd647b661e4855a (diff)
parentc73a451021fc13c0255a52801396600b3274eaf7 (diff)
downloaddorado-65723c9aeea6ff018f9dd9f464a38366e453a936.tar.gz
Merge branch 'master' of github.com:andinus/dorado
Diffstat (limited to 'src/algorithms')
-rw-r--r--src/algorithms/2d-transformations/Scaling.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algorithms/2d-transformations/Scaling.svelte b/src/algorithms/2d-transformations/Scaling.svelte
index 9f17fd1..a08d5ce 100644
--- a/src/algorithms/2d-transformations/Scaling.svelte
+++ b/src/algorithms/2d-transformations/Scaling.svelte
@@ -32,7 +32,7 @@
   }
 
   function solve() {
-    let scale_mat = [[scale_factor.x, 0], [0, scale_factor.y]];
+    const scale_mat = [[scale_factor.x, 0], [0, scale_factor.y]];
 
     scaled_points = [[], []];
     // Deep copy.