Ignore:
Timestamp:
06/09/06 14:26:57 (18 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsLibrary.cpp

    r1007 r1009  
    1 /*      ========================================================================== 
     1/*========================================================================== 
    22 *      (C) 2005 Universitat Jaume I 
    3  *      ========================================================================== 
     3 *========================================================================== 
    44 *      PROYECT:        GAME TOOLS 
    5  *      ==========================================================================*/ 
    6 /**     CONTENT:         
    7         * 
    8         * 
    9         *       @file   GeoLodStripsLibrary.cpp 
    10 /*===========================================================================*/ 
     5 *========================================================================== 
     6 *      CONTENT: 
     7 * 
     8 * 
     9 *      @file   GeoLodStripsLibrary.cpp 
     10 *===========================================================================*/ 
    1111 
    1212#include "GeoLodStripsLibrary.h" 
     
    4747//----------------------------------------------------------------------------- 
    4848 
    49 /* 
    50         Go to the level of detail. 
    51 */ 
     49//----------------------------------------------------------------------------- 
     50//      Go to the level of detail. 
     51//----------------------------------------------------------------------------- 
    5252uint32 LodStripsLibrary::GoToLod(uint32 newLOD) 
    5353{ 
     
    308308 
    309309 
    310 /* 
    311         Gets the maximum level of detail. 
    312 */ 
     310//----------------------------------------------------------------------------- 
     311//      Gets the maximum level of detail. 
     312//----------------------------------------------------------------------------- 
    313313uint32 LodStripsLibrary::MaxLod() 
    314314{ 
     
    316316} 
    317317 
    318 /* 
    319         Gets the minimum level of detail. 
    320 */ 
     318//----------------------------------------------------------------------------- 
     319//      Gets the minimum level of detail. 
     320//----------------------------------------------------------------------------- 
    321321uint32 LodStripsLibrary::MinLod() 
    322322{ 
     
    324324} 
    325325 
    326 /// Returns the number of vertices of the highest LOD. 
     326//----------------------------------------------------------------------------- 
     327//      Returns the number of vertices of the highest LOD. 
     328//----------------------------------------------------------------------------- 
    327329uint32  LodStripsLibrary::MaxVertices() 
    328330{ 
     
    330332} 
    331333 
    332 /// Returns the number of vertices of the lowest LOD. 
     334//----------------------------------------------------------------------------- 
     335//      Returns the number of vertices of the lowest LOD. 
     336//----------------------------------------------------------------------------- 
    333337uint32  LodStripsLibrary::MinVertices() 
    334338{ 
     
    341345} 
    342346 
    343 /// Returns the number of triangles of the highest LOD. 
     347//----------------------------------------------------------------------------- 
     348//      Returns the number of triangles of the highest LOD. 
     349//----------------------------------------------------------------------------- 
    344350uint32  LodStripsLibrary::MaxFaces() 
    345351{ 
     
    364370} 
    365371 
    366 /// Returns the number of triangles of the lowest LOD. 
     372//----------------------------------------------------------------------------- 
     373//      Returns the number of triangles of the lowest LOD. 
     374//----------------------------------------------------------------------------- 
    367375uint32  LodStripsLibrary::MinFaces() 
    368376{ 
     
    386394} 
    387395 
    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//----------------------------------------------------------------------------- 
    390400void            LodStripsLibrary::TrimByLod(uint32 minLod, uint32 maxLod) 
    391401{ 
     
    397407} 
    398408 
     409//----------------------------------------------------------------------------- 
     410//      Get strip count. 
     411//----------------------------------------------------------------------------- 
    399412uint32  LodStripsLibrary::GetStripCount() const 
    400413{ 
     
    402415} 
    403416 
     417//----------------------------------------------------------------------------- 
     418//      Get Index by strip. 
     419//----------------------------------------------------------------------------- 
    404420uint32  LodStripsLibrary::GetIndexCountByStrip(uint32 istrip) const 
    405421{ 
     
    411427//----------------------------------------------------------------------------- 
    412428 
    413 /* 
    414         Copy a STL vector to a C array. 
    415 */ 
     429//----------------------------------------------------------------------------- 
     430//      Copy a STL vector to a C array. 
     431//----------------------------------------------------------------------------- 
    416432void LodStripsLibrary::CopyVectors2Arrays() 
    417433{ 
     
    487503 
    488504//----------------------------------------------------------------------------- 
    489 // LoadStripMesh 
     505//      LoadStripMesh 
    490506//----------------------------------------------------------------------------- 
    491507void LodStripsLibrary::LoadStripMesh(char *name, Mesh *geomesh) 
Note: See TracChangeset for help on using the changeset viewer.