Changeset 454


Ignore:
Timestamp:
12/06/05 17:42:07 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h

    r453 r454  
    6868 
    6969        float GetSize() {return 0;} 
     70        void SetSize(float size) {mSize = size;} 
     71 
    7072        /// Leaves which hold this view cell. 
    7173        vector<VspKdTreeLeaf *> mVspKdLeaves; 
     74 
     75protected: 
     76        float mSize; 
    7277}; 
    7378#endif 
  • trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h

    r453 r454  
    7272        int nodes; 
    7373        // number of splits along each of the axes 
    74         int splits[7]; 
     74        int splits[3]; 
    7575        // totals number of rays 
    7676        int rays; 
     
    114114                nodes = 0; 
    115115 
    116                 for (int i=0; i<7; i++) 
     116                for (int i=0; i<3; i++) 
    117117                        splits[i] = 0; 
    118118 
Note: See TracChangeset for help on using the changeset viewer.