diff --git a/src/transform.rs b/src/transform.rs index 284d647..8219a5a 100644 --- a/src/transform.rs +++ b/src/transform.rs @@ -104,7 +104,7 @@ impl> Transform

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