njClearMatrix | Japanese
    <-|INDEX|->
Clears the matrix stack.

### FORMAT

      #include <Ninja.h>

      njClearMatrix()

### PARAMETERS

  None

### RETURN VALUE

  None

### FUNCTION

- Clears the matrix stack with the current view matrix.
- The current matrix pointer is restored to the base matrix pointer.
- See the View function the file is VIEW.TXT(in the NINJA ROOT FOLDER).txt file for how to use this function.

### EXAMPLE

  The following prepares and initializes a matrix stack and sets it with the current view.

      NJS_MATRIX stack[10];
      NJS_VIEW view;

      njInitMatrix(stack, 10);
      njInitView(&view);
      njSetView(&view);
      njClearMatrix();

### NOTES

### RELATED TOPICS

  njInitMatrix()
  VIEW function

njClearMatrix |
    <-|INDEX|->