From 058fe0419312ab2576ea516737cf9d0d0ea37309 Mon Sep 17 00:00:00 2001 From: rob-bateman Date: Tue, 8 Oct 2013 01:00:10 +0100 Subject: [PATCH] refix to pitch/roll/yaw --- src/away3d/core/base/Object3D.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/away3d/core/base/Object3D.as b/src/away3d/core/base/Object3D.as index 542217602..12db3b84c 100644 --- a/src/away3d/core/base/Object3D.as +++ b/src/away3d/core/base/Object3D.as @@ -795,9 +795,9 @@ package away3d.core.base var vec:Vector3D = m.decompose()[1]; - _rotationX = vec.x; - _rotationY = vec.y; - _rotationZ = vec.z; + _rotationX += vec.x; + _rotationY += vec.y; + _rotationZ += vec.z; invalidateRotation(); }