##### Ninja Library - Matrix Function

# njGetMatrix

Gets a copy of the current matrix

### FORMAT

`

  void njGetMatrix( *m )
  NJS_MATRIX *m

`

### PARAMETER

  `*m` | Copy destination matrix

### RETURN

  None

### DESCRIPTION

  Copies the current matrix to matrix m.

### EXAMPLE

      The following copies the current matrix to matrix m.
      NJS_MATRIX m;
      NJS_MATRIX stack[10];
      NJS_VIEW view;
      njInitMatrix(stack, 10);
      njInitView(&view);
      njSetView(&view);
      njClearMatrix();
      njGetMatrix(&m);

njGetMatrix

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999