*m | Matrix stack |
n | Size of matrix stack |
flag | Calculation method for vector |
0 : Do not change to unit vector at calculation | |
1 : Change to unit vector at calculation |
The following allocates a matrix stack of size 10 and initializes it. NJS_MATRIX stack[10]; njInitMatrix(stack, 10 , 1);