From 23d6c2d3b56145999c14596733853bc6de49eff3 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 30 Dec 2022 19:25:28 +0100 Subject: fixed: linear transform, value scale and command line ars --- evc/src/helpers/matrix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'evc/src/helpers/matrix.rs') diff --git a/evc/src/helpers/matrix.rs b/evc/src/helpers/matrix.rs index c3c120b..0007440 100644 --- a/evc/src/helpers/matrix.rs +++ b/evc/src/helpers/matrix.rs @@ -12,8 +12,8 @@ impl + std::ops::Add + Copy> Mat2 { #[inline] pub fn transform(&self, v: Vec2) -> Vec2 { Vec2 { - x: self.a * v.x + self.b * v.x, - y: self.c * v.y + self.d * v.y, + x: self.a * v.x + self.b * v.y, + y: self.c * v.x + self.d * v.y, } } } -- cgit v1.2.3-70-g09d2