Changeset 446 for trunk/VUT/GtpVisibilityPreprocessor/src/VssRay.h
- Timestamp:
- 12/04/05 20:19:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssRay.h
r444 r446 214 214 }; 215 215 216 216 void 217 GenerateExtendedConvexCombinationWeights(float &w1, 218 float &w2, 219 float &w3, 220 const float overlap 221 ); 222 223 // -------------------------------------------------------------- 224 // For sorting rays 225 // -------------------------------------------------------------- 226 struct 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 }; 217 246 218 247 typedef vector<VssRay *> VssRayContainer;
Note: See TracChangeset
for help on using the changeset viewer.