njReturn2BaseView | Japanese
    <-|INDEX|->
Returns the current view to the base view.

### FORMAT

      #include <Ninja.h>

      void njReturn2BaseView( *v );
      NJS_VIEW  *v

### PARAMETERS

*v
  view structure pointer

### RETURN VALUE

  None

### FUNCTION

- Restores the location and viewline orientation of the current view to the location and orientation of the base view.

### EXAMPLE

  This example manipulates the view in various ways, then restores the view to the base view location and viewline.

      NJS_VIEW v;

      njInitView(&v);
      njTranslateViewRelative(50.f, 50.f, 50.f);
      njnjLookAtView(&v, 0.f, 0.f, 0.f);
      njReturn2BaseView(&v);
      njSetView(&v);
      njClearMatrix();

### NOTES

- When parameter v is NULL, this function acts on the current view.

### RELATED TOPICS

  InitView()
  njSetView()
  njClearMatrix()

njReturn2BaseView |
    <-|INDEX|->