Changeset 1530 for GTP/trunk/Lib/Geom
- Timestamp:
- 09/28/06 19:26:42 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp
r1526 r1530 104 104 105 105 lodFactor=lodfactor; 106 LODRegisterType * lastLOD = mCurrentRegLOD;106 // LODRegisterType * lastLOD = mCurrentRegLOD; 107 107 108 108 if (newLOD != mCurrentLod) … … 111 111 { 112 112 // Forwards. 113 // Increments LOD .114 for (lod = mCurrentLod; lod < newLOD || lastLOD->obligatory==1; lod++)113 // Increments LOD (decreases level of detail) 114 for (lod = mCurrentLod; lod < newLOD || (mCurrentRegLOD->obligatory==1 && mCurrentLod<mLods-1); lod++) 115 115 { 116 116 next = mVertex[lod]; … … 169 169 } 170 170 171 lastLOD = mCurrentRegLOD;171 // lastLOD = mCurrentRegLOD; 172 172 mCurrentRegLOD++; 173 173 … … 190 190 191 191 // Decrements LOD. 192 for (lod = mCurrentLod; lod > newLOD || lastLOD->obligatory==1; lod--)192 for (lod = mCurrentLod; lod > newLOD || (mCurrentRegLOD->obligatory==1 && mCurrentLod>0); lod--) 193 193 { 194 194 total_changes = mPChanges[lod - 1]; … … 246 246 } 247 247 248 lastLOD = mCurrentRegLOD;248 // lastLOD = mCurrentRegLOD; 249 249 mCurrentRegLOD--; 250 250 mStripsChanges[t] = 1; -
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoMeshStripifier.cpp
r1070 r1530 8139 8139 // File that will contain the triangle strip data 8140 8140 bands = fopen(newfname,"w"); 8141 fprintf(bands,"#%s: a triangle strip representation created by STRIPE.\n#This is a .objf file\n#by Francine Evans\n",fname);8141 // fprintf(bands,"#%s: a triangle strip representation created by STRIPE.\n#This is a .objf file\n#by Francine Evans\n",fname); 8142 8142 8143 8143 return bands; -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GTAboutDialog.cpp
r813 r1530 18 18 { 19 19 fltk::gifImage *logo; 20 fltk::Window 20 fltk::Window *w; 21 21 22 const char credits[1000] = "Benito Córcoles Almela\n" 23 "Jesús Galindo Álvaro\n" 24 "Gustavo Puche Rodríguez"; 22 const char credits[1000] = "GameTools Project"; 23 25 24 { 26 25 fltk::Window* o = mMainWindow = new fltk::Window(289, 319, "About");
Note: See TracChangeset
for help on using the changeset viewer.