Fixed Decomposed::concat

This commit is contained in:
Dzmitry Malyshau 2016-07-03 00:17:58 -04:00
parent 3701dbda05
commit ec2ad0061b

View file

@ -104,7 +104,7 @@ impl<P: EuclideanSpace, R: Rotation<P>> Transform<P> for Decomposed<P::Diff, R>
Decomposed {
scale: self.scale * other.scale,
rot: self.rot * other.rot,
disp: self.disp + other.disp,
disp: self.rot.rotate_vector(other.disp * self.scale) + self.disp,
}
}