Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthorsaqoosha
    • CommentTimeNov 18th 2009 edited
     
    This code from line 482 of Quaternion.as

    return new Matrix3D( [
    1 - 2 * ( yy + zz ), 2 * ( xy - wz ), 2 * ( xz + wy ), 0,
    2 * ( xy + wz ), 1 - 2 * ( xx - zz ), 2 * ( yz - wx ), 0,
    2 * ( xz - wy ), 2 * ( yz + wx ), 1 - 2 * ( xx - yy ), 0,
    0, 0, 0, 1
    ] );

    should be

    return new Matrix3D( [
    1 - 2 * ( yy + zz ), 2 * ( xy - wz ), 2 * ( xz + wy ), 0,
    2 * ( xy + wz ), 1 - 2 * ( xx + zz ), 2 * ( yz - wx ), 0,
    2 * ( xz - wy ), 2 * ( yz + wx ), 1 - 2 * ( xx + yy ), 0,
    0, 0, 0, 1
    ] );
    • CommentAuthorRichard
    • CommentTimeDec 4th 2009
     
    Thank you for the bug report and fix. I'll include it in the next release.