njDetMatrix Japanese
<-|INDEX|->
Determines a matrix expression.

FORMAT

#include <Ninja.h>

void njDetMatrix(*m)
NJS_MATRIX *m

PARAMETERS

NJS_MATRIX *m
calculation matrix

RETURN VALUE

None

FUNCTION

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

  • EXAMPLE

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

    NOTES


    RELATED TOPICS


    njDetMatrix
    <-|INDEX|->
    

    Copyright SEGA ENTERPRISES, LTD., 1997