[prev in list] [next in list] [prev in thread] [next in thread]
List: osflash-sandy
Subject: [Sandy] [sandy commit] r1055 - Fix to use existing Quaternion in
From: codesite-noreply () google ! com
Date: 2009-04-13 9:50:27
Message-ID: 0016361e7d94ec67b404676ca4da () google ! com
[Download RAW message or body]
Author: damonsbane
Date: Mon Apr 13 02:49:23 2009
New Revision: 1055
Modified:
trunk/sandy/haxe/trunk/src/sandy/core/scenegraph/TagCollection.hx
Log:
Fix to use existing Quaternion in Tag objects
Modified: trunk/sandy/haxe/trunk/src/sandy/core/scenegraph/TagCollection.hx
==============================================================================
--- trunk/sandy/haxe/trunk/src/sandy/core/scenegraph/TagCollection.hx
(original)
+++ trunk/sandy/haxe/trunk/src/sandy/core/scenegraph/TagCollection.hx Mon
Apr 13 02:49:23 2009
@@ -97,8 +97,8 @@
interPos.z = c2 * origin1.z + c1 * origin2.z;
// interpolate rotations
- var currRot: Quaternion = Quaternion.ofMatrix(ft1.matrix);
- var nextRot: Quaternion = Quaternion.ofMatrix(ft2.matrix);
+ var currRot: Quaternion = ft1.quaternion;
+ var nextRot: Quaternion = ft2.quaternion;
var interRot : Quaternion = Quaternion.slerp(currRot, nextRot, c1);
interMatrix = interRot.getRotationMatrix();
}
_______________________________________________
Sandy mailing list
Sandy@osflash.org
http://osflash.org/mailman/listinfo/sandy_osflash.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic