Ninja Library - Matrix Function

njDetMatrix

Determines a matrix expression

FORMAT

void njDetMatrix(*m)
NJS_MATRIX *m

PARAMETER

 *m  Calculation matrix 

RETURN

None

DESCRIPTION

Determines the matrix expression of arbitrary matrix m. When parameter m is NULL, the expression is determined from the current matrix.

EXAMPLE

The following determines the matrix expression of the current matrix.
NJS_MATRIX stack[10];
NJS_VIEW view;
Flaot det;
njInitMatrix(stack, 10);
njInitView(&view);
njSetView(&view);
njClearMatrix();
njPushMatrix(NULL);
det = njDetMatrix(NULL);
njPopMatrix(1);

njDetMatrix
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999