Changeset 2470 for GTP/trunk/Lib/Geom
- Timestamp:
- 06/28/07 17:54:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodManager.cpp
r2153 r2470 212 212 it != lodobj_container->lodobj_dists.End(); it ++) 213 213 { 214 float lodfactor = - ((it->dist2cam - near_range) / (far_range - near_range));214 float lodfactor = 1.0f - ((it->dist2cam - near_range) / (far_range - near_range)); 215 215 if (lodfactor < 0.0f) 216 216 lodfactor = 0.0f;
Note: See TracChangeset
for help on using the changeset viewer.