CameraPersp /

#includecinder/Camera.h

A perspective Camera .


Public Member Functions


Protected Member Functions

  • void
    calcProjection () const override
  • calcRay (float u, float v, float imagePlaneAspectRatio) const override
  • void
    calcMatrices () const
  • void
    calcViewMatrix () const
  • void
    calcInverseView () const
  • void
    getClipCoordinates (float clipDist, float ratio, vec3 *topLeft, vec3 *topRight, vec3 *bottomLeft, vec3 *bottomRight) const

Protected Attributes

  • vec2
    mLensShift
  • vec3
    mEyePoint
  • vec3
    mViewDirection
  • quat
    mOrientation
  • vec3
    mWorldUp
  • float
    mFov
  • float
    mAspectRatio
  • float
    mNearClip
  • float
    mFarClip
  • float
    mPivotDistance
  • vec3
    mU
  • vec3
    mV
  • vec3
    mW
  • mat4
    mProjectionMatrix
  • mat4
    mInverseProjectionMatrix
  • bool
    mProjectionCached
  • mat4
    mViewMatrix
  • bool
    mModelViewCached
  • mat4
    mInverseModelViewMatrix
  • bool
    mInverseModelViewCached
  • float
    mFrustumLeft
  • float
    mFrustumRight
  • float
    mFrustumTop
  • float
    mFrustumBottom