diff options
author | Andinus <andinus@nand.sh> | 2021-10-26 04:50:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 04:50:45 +0000 |
commit | c73a451021fc13c0255a52801396600b3274eaf7 (patch) | |
tree | 899bd7d53719da30b3d086af00fe82467bed5d22 /src/algorithms/2d-transformations | |
parent | 3b7af88f5480f2f95d95d9d7628495be3dd3e968 (diff) | |
parent | 6f3360e44f5f248cb2fd2e278319d5d0a6b81b7a (diff) | |
download | dorado-c73a451021fc13c0255a52801396600b3274eaf7.tar.gz |
Merge pull request #4 from VSThoms/master
Make scale.svelte_const
Diffstat (limited to 'src/algorithms/2d-transformations')
-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. |