| njInitView | Japanese |
|---|---|
<-|INDEX|-> | |
| Initializes the view. | |
#include <Ninja.h> void njInitView(*v) NJS_VIEW *v
Position (PX,PY,PZ) = (0,0, 0) //origin Orientation (VX,XY,XZ) = (0,0,-1) //toward back of screen Tilt (roll, or tilt along the Z axis of line of sight) //0 degrees View matrix = Unit matrix
NJS_VIEW v; njInitView(&v);
px, py, pz (view point) vx, vy, vz (view direction) roll (view tilt)It is not necessary to set the view matrix.
| njInitView | <-|INDEX|-> |
|---|