Changeset 2806 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Camera.h
- Timestamp:
- 06/29/08 02:31:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Camera.h
r2796 r2806 48 48 49 49 void CalcFrustum(Frustum &frustum); 50 50 /** Computes the extremal points of this frustum. 51 */ 51 52 void ComputePoints(Vector3 &ftl, Vector3 &ftr, Vector3 &fbl, Vector3 &fbr, 52 53 Vector3 &ntl, Vector3 &ntr, Vector3 &nbl, Vector3 &nbr); 53 54 55 /** Returns the near plane. 56 */ 54 57 inline float GetNear() const { return mNear; } 58 /** Returns the far plane. 59 */ 60 inline float GetFar() const { return mFar; } 61 /** Sets the near plane 62 */ 55 63 void SetNear(float nearDist); 64 /** Sets the far plane. 65 */ 66 void SetFar(float farDist); 56 67 57 inline float GetFar() const { return mFar; }58 59 void SetFar(float farDist) { mFar = farDist; }60 61 68 void SetOrtho(bool ortho); 62 69 … … 64 71 void Pitch(float angle); 65 72 73 float GetPitch() const { return mPitch; } 74 float GetYaw() const { return mYaw; } 75 66 76 67 77
Note: See TracChangeset
for help on using the changeset viewer.