##### Ninja Library - Matrix Structure

# NJS_VIEW

Structure in which the view is set

### DEFINITION

      typedef struct {
       NJS_MATRIX m;
       Float    px,py,pz;
       Float    vx,vy,vz;
       Angle    roll;
       Float    apx,apy,apz;
       Float    avx,avy,avz;
       Angle    aroll;
      } NJS_VIEW;

### MEMBER

  `m` | View matrix
  `px,py,pz` | Viewpoint position coordinate initial values : default (0.f, 0.f, 0.f)
  `vx,vy,vz` | Line of sight direction vector initial values : default (0.f, 0.f, -1.f)
  `roll` | Line of sight tilt initial value : default (0)
  `apx,apy,apz` | Viewpoint position coordinate initial values for absolute system in View function :default (0.f, 0.f, 0.f)
  `avx,avy,avz` | Line of sight direction vector initial values for absolute system in View function : default (0.f, 0.f, -1.f)
  `aroll` | Line of sight tilt initial value for absolute system in View function : default (0)

### DESCRIPTION

  Structure in which the view is set.

### REFERENCE

  `njClearMatrix()
  njDetMatrix()
  njForwardViewAbsolute()
  njForwardViewRelative()
  njGetMatrix()
  njInitView()
  njInvertMatrix()
  njLookAtView()
  njLookAtViewV()
  njMirror()
  njMultiViewMatrix()
  njPopMatrix()
  njProject()
  njProject2()
  njProjectScreen()
  njPushMatrix()
  njReturn2BaseView()
  njRotate()
  njRotateViewPosXAbsolute()
  njRotateViewPosXRelative()
  njRotateViewPosYAbsolute()
  njRotateViewPosYRelative()
  njRotateViewPosZAbsolute()
  njRotateViewPosZRelative()
  njRotateViewX()
  njRotateViewXAbsolute()
  njRotateViewXRelative()
  njRotateViewXYZ()
  njRotateViewXYZAbsolute()
  njRotateViewXYZRelative()
  njRotateViewY()
  njRotateViewYAbsolute()
  njRotateViewYRelative()
  njRotateViewZ()
  njRotateViewZAbsolute()
  njRotateViewZRelative()
  njRotateX()
  njRotateXYZ()
  njRotateY()
  njRotateZ()
  njRotateZXY()
  njScale()
  njScaleV()
  njSetBaseView()
  njSetMatrix()
  njSetView()
  njTranslate()
  njTranslateV()
  njTranslateView()
  njTranslateViewAbsolute()
  njTranslateViewRelative()
  njTranslateViewV()
  njTranslateViewVAbsolute()
  njTranslateViewVRelative()
  njTransposeMatrix()
  njUnitMatrix()
  njUnitViewMatrix()
  njUnitViewVector()
  `

NJS_VIEW

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999