njSetMatrix | Japanese
    <-|INDEX|->
Copies an arbitrary matrix.

### FORMAT

      #include <Ninja.h>

      void njSetMatrix(*md, *ms)
      NJS_MATRIX *md
      NJS_MATRIX *ms

### PARAMETERS

NJS_MATRIX *md
  copy destination matrix
NJS_MATRIX *ms
  copy source matrix

### RETURN VALUE

### FUNCTION

- Copies arbitrary matrix md to matrix ms.
- When parameter md is NULL, the current matrix is copied.

### EXAMPLE

      NJS_MATRIX stack[10];
      NJS_VIEW view;

      njInitMatrix(stack, 10);
      njInitView(&view);
      njSetView(&view);
      njClearMatrix();
      njPushMatrix(NULL);
      njSetMatrix(NULL, _unit_matrix_);
      njPopMatrix(1);

### NOTES

### RELATED TOPICS

  NJS_MATRIX

njSetMatrix |
    <-|INDEX|->