njRotateY | Japanese
    <-|INDEX|->
Applies a matrix that gives rotation around Y axis.

### FORMAT

      #include <Ninja.h>

      void njRotateY(*m, ang)
      NJS_MATRIX *m
      Angle ang

### PARAMETERS

NJS_MATRIX *m
  distination matrix
Angle ang
  rotation angle

### RETURN VALUE

  None

### FUNCTION

- Applies a matrix that gives rotation around the Y axis to the matrix m.
- When parameter m is NULL, the current matrix will be the destination.

### EXAMPLE

  The following applies a matrix that gives rotation of 90 degrees around the Y axis to the current matrix.

      NJS_MATRIX stack[10];
      NJS_VIEW view;

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

### NOTES

- For a matrix [M] and multiplicative rotational matrix [R], [M] = [R] * [M].
- Care must be taken with the order in which matrices are multiplied.

### RELATED TOPICS

njRotateY |
    <-|INDEX|->