From ec2ad0061b6916487b4f2b1b691f8539adcfa28c Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sun, 3 Jul 2016 00:17:58 -0400 Subject: [PATCH] Fixed Decomposed::concat --- src/transform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, } }