##### Ninja Library - Matrix Function

# njGetTranslation

Gets move elements from specified matrix

### FORMAT

`

  void njGetTranslation( *m, *p )
  NJS_MATRIX *m
  NJS_POINT3 *p

`

### PARAMETER

  `*m` | Calculation target matrix
  `*p` | Store location for move elements

### RETURN

  None

### DESCRIPTION

  Gets move elements from specified matrix. When argument m is NULL, the current matrix is used for processing.

### EXAMPLE

      The following gets move elements from matrix m.
      NJS_POINT3 p;
      NJS_MATRIX m = { 1.f, 2.f, 3.f, 4.f,
               5.f, 6.f, 7.f, 8.f,
               9.f, 10.f, 11.f, 12.f,
              13.f, 14.f, 15.f, 16.f};
      njGetTranslation(&m, &p);
      % Result %
      p.x = 13.f
      p.y = 14.f
      p.z = 15.f

njGetTranslation

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999