Closed karimbeyrouti closed 11 years ago
All test cases are here: https://github.com/away3d/away3d-core-ts/blob/master/tests/away/geom/VextMat3DTests.ts
determinant ( using same calc as AS3 )
invert
copyRowTo ( changed to be column major like AS3 )
copyRowFrom ( changed to be column major like AS3 )
copyColumnTo ( changed to be column major like AS3 )
copyColumnFrom ( changed to be column major like AS3 )
clone();
transpose();
copyRawDataTo();
copyRawDataFrom();
copyFrom();
appendTranslation();
appendScale();
prependScale();
prepend();
position();
prependTranslation();
transformVector() ;
identity();
copyToMatrix3D();
append()
appendRotation - Different results in AS3 / TS
decompose - Different results in AS3 / TS
deltaTransformVector - Different results in AS3 / TS
interpolateTo(); - Different results in AS3 / TS
recompose - Note results are same, but in some cases flash recomposes when we do not ( return false )
prependRotation()
Matrix3D and Vector3D operations need testing ( this is somewhat urgent )... The output from TS should be validated against AS3 out. At the moment - tests with a focus on translations would be very useful. This would rule out Matrix3D / Vector3D as a possibly cause of bugs.