njUnitMatrix | Japanese
    <-|INDEX|->
Converts an arbitrary matrix to a unit matrix.

### FORMAT

      #include <Ninja.h>

      void njUnitMatrix(*m)
      NJS_MATRIX *m

### PARAMETERS

NJS_MATRIX *m
  matrix to be unitized

### RETURN VALUE

  None

### FUNCTION

- Converts an arbitrary matrix to a unit matrix.
- When parameter m is NULL, the current matrix is unitized.

### EXAMPLE

  The following converts the current matrix to a unit matrix.

      NJS_MATRIX stack[10];
      NJS_VIEW view;

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

### NOTES

### RELATED TOPICS

  NJS_MATRIX

njUnitMatrix |
    <-|INDEX|->