Sometime many users have specialized matrices classes that ignore the last element of the matrix making it a 4 x 3 matrix mapped into a 4 x 4 array.
This usually works with special transformation routine, but when general routines if the last element is an undefined values, the results are unpredictable.
Matrices in Newton must the following format
- Code: Select all
a00 a01 a02 0.0
M = a10 a11 a12 0.0
a20 a21 a22 0.0
a30 a31 a32 1.0