- Timestamp:
- 06/30/06 14:22:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodTreeLibrary.cpp
r1069 r1070 89 89 void LodTreeLibrary::GoToFoliageLod(float newlod) 90 90 { 91 uint32 targetLeaves = (1.0f-newlod)*foliage->minLeaves + newlod*foliage->leafCount; 91 uint32 targetLeaves = (uint32) 92 ( 93 (1.0f - newlod) 94 * 95 foliage->minLeaves 96 + 97 newlod 98 * 99 foliage->leafCount 100 ); 101 92 102 foliage->CalculateLOD(targetLeaves); 93 103
Note: See TracChangeset
for help on using the changeset viewer.