Skip to content

Commit

Permalink
refix to pitch/roll/yaw
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-bateman committed Oct 8, 2013
1 parent e5b3403 commit 058fe04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/away3d/core/base/Object3D.as
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 058fe04

Please sign in to comment.