##### Ninjaライブラリ - マトリクス構造体

# NJS_VIEW

ビューを設定する構造体

### 定義

      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;

### メンバ

  m | ビューマトリックス
  px,py,pz | 視点の位置座標:デフォルト(0.f,0.f,0.f)
  vx,vy,vz | 視線の向きベクトル:デフォルト(0.f,0.f,-1.f)
  roll | 視線の傾き:デフォルト(0)
  apx,apy,apz | Viwe()関数のAbsolute系の視点の位置座標:デフォルト(0.f,0.f,0.f)
  avx,avy,avz | Viwe()関数のAbsolute系の視線の向きベクトル:デフォルト(0.f,0.f,-1.f)
  aroll | Viwe()関数のAbsolute系の視線の傾き:デフォルト(0)

### 解説

  ビューを設定する構造体です。

### 参照

  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