Changeset 7111 for code/branches/presentation3
- Timestamp:
- Jun 3, 2010, 10:51:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/graphics/Model.cc
r7054 r7111 143 143 { 144 144 // float factor = scaleFactor*5/lodLevel_; 145 float factor = pow(volume, 2.0/3.0)*15/lodLevel_;145 float factor = pow(volume, 2.0f / 3.0f) * 15.0f / lodLevel_; 146 146 147 147 COUT(4) << "LodLevel set with factor: " << factor << endl;
Note: See TracChangeset
for help on using the changeset viewer.