Ignore:
Timestamp:
06/29/08 02:31:58 (16 years ago)
Author:
mattausch
Message:

improved visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Camera.h

    r2796 r2806  
    4848 
    4949        void CalcFrustum(Frustum &frustum); 
    50  
     50        /** Computes the extremal points of this frustum. 
     51        */ 
    5152        void ComputePoints(Vector3 &ftl, Vector3 &ftr, Vector3 &fbl, Vector3 &fbr, 
    5253                               Vector3 &ntl, Vector3 &ntr, Vector3 &nbl, Vector3 &nbr); 
    5354         
     55        /** Returns the near plane. 
     56        */ 
    5457        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        */ 
    5563        void SetNear(float nearDist); 
     64        /** Sets the far plane. 
     65        */ 
     66        void SetFar(float farDist); 
    5667         
    57         inline float GetFar() const { return mFar; } 
    58  
    59         void SetFar(float farDist) { mFar = farDist; } 
    60  
    6168        void SetOrtho(bool ortho); 
    6269 
     
    6471        void Pitch(float angle); 
    6572         
     73        float GetPitch() const { return mPitch; } 
     74        float GetYaw() const { return mYaw; } 
     75 
    6676 
    6777 
Note: See TracChangeset for help on using the changeset viewer.