Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 3:45:43 PM (18 years ago)
Author:
ponder
Message:

To rid of the triple and plane struct in types.h. now using the generic ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/lib/graphics/importer/terrain/terrain_page.h

    r9140 r9147  
    2828struct Vertex {
    2929        TexCoord        t;     
    30         Triple          p;
     30        Vector          p;
    3131};
    3232
     
    3434
    3535typedef struct {
    36         Triple  correct;
    37         Triple  real;
     36        Vector  correct;
     37        Vector  real;
    3838        float   diff;
    3939} LODError, *pLODError;
     
    159159                 * Sets the position of the TerrainPage. Is this needed?
    160160                 */
    161                 inline void setPosition( const Triple& _pos )
     161                inline void setPosition( const Vector& _pos )
    162162                {
    163163                        position.x = _pos.x;
     
    250250                 * Fills _vertex with the vertex information at index.
    251251                 */
    252                 void getVertex( int _x, int _z, Triple& _vertex ) const;
     252                void getVertex( int _x, int _z, Vector& _vertex ) const;
    253253               
    254254                /**
     
    288288                pTerrainPage                            previous;
    289289                LODError                                        *errors;
    290                 Triple                                          position;
     290                Vector                                          position;
    291291};
    292292
Note: See TracChangeset for help on using the changeset viewer.