Ignore:
Timestamp:
10/11/05 19:25:27 (19 years ago)
Author:
mattausch
Message:

VisibilityInfo?: query sort operators as templates
X3dExporter: Fixed polygon wire frame, bsp splits, and bsp split planes visualization
ViewCellBsp?: Added rays to split criteria (not finished yet)
OgreOctreeSceneManager?: fixed error (mNumOctants instead of mNumOctrees)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/VisibilityInfo.h

    r316 r318  
    3030        void SetProjectedPixels(int vis); 
    3131         
    32         /** Computes ratio of visible to projected pixels. */ 
     32        /** Computes ratio of visible to projected pixels.  
     33        */ 
    3334        float ComputeRelativeVisibility(); 
    3435 
     
    3940        */ 
    4041        void AddVisibility(const int visiblePixels, const int projectedPixels); 
     42 
     43        bool operator<(const VisibilityInfo<T> &b) const  
     44        { 
     45                return mSource < b.mSource; 
     46        } 
     47 
     48        bool operator==(const VisibilityInfo<T> &b) const  
     49        { 
     50                return mSource == b.mSource; 
     51        } 
    4152 
    4253protected: 
Note: See TracChangeset for help on using the changeset viewer.