Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2006, 11:49:33 PM (18 years ago)
Author:
patrick
Message:

bsp: data reading algorithm completed. almost impossible, that it runs on first try…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_mesh.h

    r8420 r8423  
    5353  };
    5454
     55  typedef struct MD3Normal {
     56    int     vertexNormal[2];                //!< vertex normals
     57  };
     58
     59  typedef struct MD3VertexCompressed {
     60    short   vector[3];                      //!< compressed vertex information
     61    unsigned char vertexNormal[2];          //!< vertex normals compressed
     62  };
     63
     64
    5565
    5666class MD3Mesh
     
    6777    MD3Triangle*       triangles;               //!< indices into mesh frames and texture coord arrays
    6878    MD3TexVecs*        texVecs;                 //!< tex vecs coordinates
     79    sVec3D*            meshFrames;              //!< mesh frames
     80    MD3Normal*         normals;                 //!< 3d array of normals with spherical coordinates giving the dir of the vertex normal
    6981
    70     float*             textureCoords;           //!< U/V textures coordinates of vertices
    71     Vector             meshFrames;              //!< mesh frames
    7282};
    7383
Note: See TracChangeset for help on using the changeset viewer.