aboutsummaryrefslogtreecommitdiff
path: root/evc/src/helpers/matrix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'evc/src/helpers/matrix.rs')
-rw-r--r--evc/src/helpers/matrix.rs4
1 files changed, 2 insertions, 2 deletions
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<T: std::ops::Mul<Output = T> + std::ops::Add<Output = T> + Copy> Mat2<T> {
#[inline]
pub fn transform(&self, v: Vec2<T>) -> Vec2<T> {
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,
}
}
}