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


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


RELATED TOPICS

InitView()
njSetView()
njClearMatrix()

njReturn2BaseView
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997