Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2005, 11:27:40 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: cleaned out the abstract_model file. there where many absolete structures from the ancient md2model :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/md2Model.h

    r4277 r4278  
    6666
    6767
    68 //! This is used to store the vertices that are read in for the current frame directly from the file (compressed)
    69 struct tMd2AliasTriangle
    70 {
    71    byte vertex[3];
    72    byte lightNormalIndex;
    73 };
    74 
    75 //! This stores the normals and vertices for the frames (uncompressed)
    76 struct tMd2Triangle
    77 {
    78    float vertex[3];
    79    float normal[3];
    80 };
    81 
    82 //! This stores the indices into the vertex and texture coordinate arrays
    83 struct tMd2Face
    84 {
    85    short vertexIndices[3];
    86    short textureIndices[3];
    87 };
    88 
    89 //! This stores UV coordinates
    90 struct tMd2TexCoord
    91 {
    92    short u, v;
    93 };
    94 
    95 //! This stores the animation scale, translation and name information for a frame, plus verts
    96 struct tMd2AliasFrame
    97 {
    98    float scale[3];
    99    float translate[3];
    100    char name[16];
    101    tMd2AliasTriangle aliasVertices[1];
    102 };
    103 
    104 //! This stores the frames vertices after they have been transformed
    105 struct tMd2Frame
    106 {
    107    char strName[16];
    108    tMd2Triangle *pVertices;
    109 };
    110 
    111 //! This stores a skin name
    112 typedef char tMd2Skin[64];
    11368
    11469typedef enum
Note: See TracChangeset for help on using the changeset viewer.