[prev in list] [next in list] [prev in thread] [next in thread]
List: osflash-sandy
Subject: [Sandy] [sandy commit] r743 -
From: kiroukou () gmail ! com (Thomas Pfeiffer)
Date: 2008-08-25 10:20:43
Message-ID: aea162c80808250320w4e885f8end04314843062e5f9 () mail ! gmail ! com
[Download RAW message or body]
Thanks Makc !
2008/8/25 <codesite-noreply at google.com>
> Author: makc.the.great
> Date: Mon Aug 25 03:12:31 2008
> New Revision: 743
>
> Modified:
> trunk/sandy/as3/trunk/src/sandy/math/Matrix4Math.as
>
> Log:
> http://www.flashsandy.org/forum/tracker.php?p=1&t=19
>
> Modified: trunk/sandy/as3/trunk/src/sandy/math/Matrix4Math.as
>
> ==============================================================================
> --- trunk/sandy/as3/trunk/src/sandy/math/Matrix4Math.as (original)
> +++ trunk/sandy/as3/trunk/src/sandy/math/Matrix4Math.as Mon Aug 25 03:12:31
> 2008
> @@ -253,9 +253,9 @@
> public static function eulerRotation ( ax:Number, ay:Number,
> az:Number
> ) : Matrix4
> {
> var m:Matrix4 = new Matrix4();
> - ax = NumberUtil.toRadian(ax);
> - ay = NumberUtil.toRadian(ay);
> - az = NumberUtil.toRadian(az);
> + ax = - NumberUtil.toRadian(ax);
> + ay = NumberUtil.toRadian(ay);
> + az = - NumberUtil.toRadian(az);
> // --
> const a:Number = ( USE_FAST_MATH == false ) ?
> Math.cos( ax ) :
> FastMath.cos(ax);
> const b:Number = ( USE_FAST_MATH == false ) ?
> Math.sin( ax ) :
> FastMath.sin(ax);
> @@ -267,13 +267,13 @@
> const bd:Number = b * d ;
>
> m.n11 = c * e ;
> - m.n12 = - c * f ;
> - m.n13 = d ;
> - m.n21 = bd * e + a * f ;
> - m.n22 = - bd * f + a * e ;
> - m.n23 = - b * c ;
> - m.n31 = - ad * e + b * f ;
> - m.n32 = ad * f + b * e ;
> + m.n12 = c * f ;
> + m.n13 = - d ;
> + m.n21 = bd * e - a * f ;
> + m.n22 = bd * f + a * e ;
> + m.n23 = b * c ;
> + m.n31 = ad * e + b * f ;
> + m.n32 = ad * f - b * e ;
> m.n33 = a * c ;
>
> return m;
>
> _______________________________________________
> Sandy mailing list
> Sandy at 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