Changeset 1058 for GTP/trunk/Lib/Geom/shared/GeoTool
- Timestamp:
- 06/26/06 17:36:46 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshView.h
r998 r1058 190 190 191 191 // Change de Level of detail of the object. 192 void GoToLod_LodStrip( unsigned int lod);193 void GoToLod_LodTree( unsigned int lod);192 void GoToLod_LodStrip(float lod); 193 void GoToLod_LodTree(float lod); 194 194 195 195 // load a image file as a texture -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshView.cpp
r1051 r1058 1129 1129 // Change de Level of detail of the object. 1130 1130 //--------------------------------------------------------------------------- 1131 void GeoMeshView::GoToLod_LodStrip( unsigned int lod)1131 void GeoMeshView::GoToLod_LodStrip(float lod) 1132 1132 { 1133 1133 if (mLodStrip) … … 1141 1141 // Change de Level of detail of the object. 1142 1142 //--------------------------------------------------------------------------- 1143 void GeoMeshView::GoToLod_LodTree( unsigned int lod)1143 void GeoMeshView::GoToLod_LodTree(float lod) 1144 1144 { 1145 1145 if (mLodTree) -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshViewUI.cpp
r1050 r1058 1373 1373 { 1374 1374 // Change the lod. 1375 geoMeshView->GoToLod_LodStrip(( unsigned int)o->value());1375 geoMeshView->GoToLod_LodStrip((float)o->value()); 1376 1376 1377 1377 // Refresh data aplication. … … 1394 1394 { 1395 1395 // Change the lod. 1396 geoMeshView->GoToLod_LodTree(( unsigned int)o->value());1396 geoMeshView->GoToLod_LodTree((float)o->value()); 1397 1397 1398 1398 // Refresh data aplication. … … 2401 2401 2402 2402 // Sets the slider range. 2403 mLodStripSlider->range(lodStripsLib->MinLod(),lodStripsLib->MaxLod()); 2403 // mLodStripSlider->range(lodStripsLib->MinLod(),lodStripsLib->MaxLod()); 2404 mLodStripSlider->range(0.0f,1.0f); 2404 2405 2405 2406 // Pass to geomeshview the lod strips object. … … 2431 2432 2432 2433 // Sets the slider range. 2433 mLodStripSlider->range(lodTreeLib->MaxTrunkLod(), lodTreeLib->MinTrunkLod()); 2434 mLodTreeSlider->range(lodTreeLib->MaxFoliageLod(), lodTreeLib->MinFoliageLod()); 2434 // mLodStripSlider->range(lodTreeLib->MaxTrunkLod(), lodTreeLib->MinTrunkLod()); 2435 // mLodTreeSlider->range(lodTreeLib->MaxFoliageLod(), lodTreeLib->MinFoliageLod()); 2436 mLodStripSlider->range(0.0f,1.0f); 2437 mLodTreeSlider->range(0.0f,1.0f); 2435 2438 2436 2439 // Pass to geomeshview the lod strips object. … … 2438 2441 2439 2442 // Puts the slider in the max position. 2440 mLodStripSlider->value( lodTreeLib->MinTrunkLod());2441 mLodTreeSlider->value( lodTreeLib->MinFoliageLod());2443 mLodStripSlider->value(1.0f); 2444 mLodTreeSlider->value(1.0f); 2442 2445 } 2443 2446
Note: See TracChangeset
for help on using the changeset viewer.