Initializes the user-defined view as follows: Position (X,Y,Z) = (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
EXAMPLE
NJS_VIEW v;
njInitView(&v);
NOTE
This function may be omitted when settings are made directly in the view structure. Structure members which must be set are: px, py, pz (view point) vx, vy, vz (view direction) roll (view tilt) It is not necessary to set the view matrix.