mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
should be a multiply
This commit is contained in:
parent
b43408e6e1
commit
963fbc8c23
|
@ -259,7 +259,7 @@ impl Mul for AffineMatrix {
|
|||
type Output = Self;
|
||||
fn mul(self, rhs: Self) -> Self::Output {
|
||||
AffineMatrix {
|
||||
a: self.a * rhs.a + self.b + rhs.c,
|
||||
a: self.a * rhs.a + self.b * rhs.c,
|
||||
b: self.a * rhs.b + self.b * rhs.d,
|
||||
c: self.c * rhs.a + self.d * rhs.c,
|
||||
d: self.c * rhs.b + self.d * rhs.d,
|
||||
|
|
Loading…
Reference in a new issue