- Timestamp:
- 06/09/06 14:26:57 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp
r1007 r1009 1 /* 1 /*========================================================================== 2 2 * (C) 2005 Universitat Jaume I 3 * 3 *========================================================================== 4 4 * PROYECT: GAME TOOLS 5 * ==========================================================================*/6 /** CONTENT: 7 8 9 10 /*===========================================================================*/5 *========================================================================== 6 * CONTENT: 7 * 8 * 9 * @file GeoLodStripsLibrary.cpp 10 *===========================================================================*/ 11 11 12 12 #include "GeoLodStripsLibrary.h" … … 47 47 //----------------------------------------------------------------------------- 48 48 49 / *50 Go to the level of detail.51 */ 49 //----------------------------------------------------------------------------- 50 // Go to the level of detail. 51 //----------------------------------------------------------------------------- 52 52 uint32 LodStripsLibrary::GoToLod(uint32 newLOD) 53 53 { … … 308 308 309 309 310 / *311 Gets the maximum level of detail.312 */ 310 //----------------------------------------------------------------------------- 311 // Gets the maximum level of detail. 312 //----------------------------------------------------------------------------- 313 313 uint32 LodStripsLibrary::MaxLod() 314 314 { … … 316 316 } 317 317 318 / *319 Gets the minimum level of detail.320 */ 318 //----------------------------------------------------------------------------- 319 // Gets the minimum level of detail. 320 //----------------------------------------------------------------------------- 321 321 uint32 LodStripsLibrary::MinLod() 322 322 { … … 324 324 } 325 325 326 /// Returns the number of vertices of the highest LOD. 326 //----------------------------------------------------------------------------- 327 // Returns the number of vertices of the highest LOD. 328 //----------------------------------------------------------------------------- 327 329 uint32 LodStripsLibrary::MaxVertices() 328 330 { … … 330 332 } 331 333 332 /// Returns the number of vertices of the lowest LOD. 334 //----------------------------------------------------------------------------- 335 // Returns the number of vertices of the lowest LOD. 336 //----------------------------------------------------------------------------- 333 337 uint32 LodStripsLibrary::MinVertices() 334 338 { … … 341 345 } 342 346 343 /// Returns the number of triangles of the highest LOD. 347 //----------------------------------------------------------------------------- 348 // Returns the number of triangles of the highest LOD. 349 //----------------------------------------------------------------------------- 344 350 uint32 LodStripsLibrary::MaxFaces() 345 351 { … … 364 370 } 365 371 366 /// Returns the number of triangles of the lowest LOD. 372 //----------------------------------------------------------------------------- 373 // Returns the number of triangles of the lowest LOD. 374 //----------------------------------------------------------------------------- 367 375 uint32 LodStripsLibrary::MinFaces() 368 376 { … … 386 394 } 387 395 388 /// Establishes the new LOD range. 389 /// Only the LODs in that range are stored and used. 396 //----------------------------------------------------------------------------- 397 // Establishes the new LOD range. 398 // Only the LODs in that range are stored and used. 399 //----------------------------------------------------------------------------- 390 400 void LodStripsLibrary::TrimByLod(uint32 minLod, uint32 maxLod) 391 401 { … … 397 407 } 398 408 409 //----------------------------------------------------------------------------- 410 // Get strip count. 411 //----------------------------------------------------------------------------- 399 412 uint32 LodStripsLibrary::GetStripCount() const 400 413 { … … 402 415 } 403 416 417 //----------------------------------------------------------------------------- 418 // Get Index by strip. 419 //----------------------------------------------------------------------------- 404 420 uint32 LodStripsLibrary::GetIndexCountByStrip(uint32 istrip) const 405 421 { … … 411 427 //----------------------------------------------------------------------------- 412 428 413 / *414 Copy a STL vector to a C array.415 */ 429 //----------------------------------------------------------------------------- 430 // Copy a STL vector to a C array. 431 //----------------------------------------------------------------------------- 416 432 void LodStripsLibrary::CopyVectors2Arrays() 417 433 { … … 487 503 488 504 //----------------------------------------------------------------------------- 489 // 505 // LoadStripMesh 490 506 //----------------------------------------------------------------------------- 491 507 void LodStripsLibrary::LoadStripMesh(char *name, Mesh *geomesh)
Note: See TracChangeset
for help on using the changeset viewer.