##### Ninja Library - View Function

# njTranslateViewV

Moves the view along the X, Y, and Z axes (absolute move)

### FORMAT

`

  void njTranslateViewV( *v, *p )
  NJS_VIEW *v
  NJS_POINT3 *p

`

### PARAMETER

  `*v` | Pointer to view structure
  `*p` | Amount of movement along the X, Y, and Z axes (absolute amount)

### RETURN

  None

### DESCRIPTION

  Moves the view along the X, Y, and Z axes.

### EXAMPLE

      The following moves the view located at (0, 0, 0) with orientation (0, 0, -1)
      (screen rear) by 100 along the X axis, 200 along the Y axis, and 300 along the Z axis.

      NJS_VIEW v;
      NJS_POINT3 p;
      p.x = 100.f;
      p.y = 200.f;
      p.z = 300.f;
      njInitView(&v);
      njSetView(&v);
      njTranslateView(&v, &p);
      njClearMatrix();

### NOTE

  When parameter v is NULL, the current view is moved. Refer to Readme.txt of view functions for more details.

  ** Important **

  This function is not deleted to keep compatible with Ninja program before SDK Ver. 0.15. When programs are written newly, do not use this function as it may be eliminated in the future.

### REFERENCE

  `njInitView()
  njSetView()
  njClearMatrix()
  `

njTranslateViewV

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999