diff options
author | VSThoms <86515081+VSThoms@users.noreply.github.com> | 2021-10-26 10:14:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 10:14:12 +0530 |
commit | 6f3360e44f5f248cb2fd2e278319d5d0a6b81b7a (patch) | |
tree | b9076005b2cfebe61e66e1dfd6654e66aac74bc8 | |
parent | 89299f7508cc5ce1f88c1629f6c7ab6d4e5b4a77 (diff) | |
parent | bc11ffba2999c760f58a893e8f3dd6bd6b6f0cc6 (diff) | |
download | dorado-6f3360e44f5f248cb2fd2e278319d5d0a6b81b7a.tar.gz |
Merge pull request #1 from VSThoms/VSThoms-patch-1
Update Scaling.svelte
-rw-r--r-- | src/algorithms/2d-transformations/Scaling.svelte | 2 |
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. |