Ignore:
Timestamp:
12/04/05 20:19:50 (19 years ago)
Author:
bittner
Message:

non-functional merged version

File:
1 edited

Legend:

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

    r444 r446  
    214214}; 
    215215 
    216  
     216void 
     217GenerateExtendedConvexCombinationWeights(float &w1, 
     218                                                                                 float &w2, 
     219                                                                                 float &w3, 
     220                                                                                 const float overlap 
     221                                                                                 ); 
     222 
     223// -------------------------------------------------------------- 
     224// For sorting rays 
     225// -------------------------------------------------------------- 
     226struct  SortableEntry 
     227{ 
     228  enum EType { 
     229    ERayMin, 
     230    ERayMax 
     231  }; 
     232 
     233  int type; 
     234  float value; 
     235  void *data; 
     236   
     237  SortableEntry() {} 
     238  SortableEntry(const int t, const float v, void *d):type(t), 
     239                                                                                                         value(v), 
     240                                                                                                         data(d) {} 
     241         
     242  friend bool operator<(const SortableEntry &a, const SortableEntry &b) { 
     243    return a.value < b.value; 
     244  } 
     245}; 
    217246 
    218247typedef  vector<VssRay *> VssRayContainer; 
Note: See TracChangeset for help on using the changeset viewer.