##### Ninja Library - Camera Structure

# NJS_CAMERA

Camera data storage structure

### DEFINITION

      typedef struct {
       Float  px, py, pz;
       Float  vx, vy, vz;
       Angle  roll;
       Angle  ang;
       Float  n_clip;
       Float  f_clip;
       NJS_VECTOR lx,ly;
      } NJS_CAMERA;

### MEMBER

  `px, py, pz` | Camera position
  `vx, vy, vz` | Camera direction
  `roll` | Tilt of line of sight versus Z axis
  `ang` | Screen angle
  `n_clip` | Near clip value
  `f_clip` | Far clip value
  `lx,ly` | Local axis X, Y

### DESCRIPTION

  Camera data storage structure.

### REFERENCE

  `njCameraMotion()
  njForwardCameraPosition()
  njInitCamera()
  njPitchCameraInterest()
  njPointCameraInterest()
  njRollCameraInterest()
  njRotateCameraPositionX()
  njRotateCameraPositionXYZ()
  njRotateCameraPositionY()
  njRotateCameraPositionZ()
  njSetCamera()
  njSetCameraAngle()
  njSetCameraDepth()
  njTranslateCameraPosition()
  njYawCameraInterest()
  `

NJS_CAMERA

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999