Fixed Decomposed::concat
This commit is contained in:
parent
3701dbda05
commit
ec2ad0061b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ impl<P: EuclideanSpace, R: Rotation<P>> Transform<P> for Decomposed<P::Diff, R>
|
||||||
Decomposed {
|
Decomposed {
|
||||||
scale: self.scale * other.scale,
|
scale: self.scale * other.scale,
|
||||||
rot: self.rot * other.rot,
|
rot: self.rot * other.rot,
|
||||||
disp: self.disp + other.disp,
|
disp: self.rot.rotate_vector(other.disp * self.scale) + self.disp,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue