Merge pull request #365 from kvark/concat

Fixed Decomposed::concat
This commit is contained in:
Brendan Zabarauskas 2016-07-04 11:48:28 +10:00 committed by GitHub
commit e7d90d6a43

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,
}
}