Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2005, 9:21:15 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: static definitions

File:
1 edited

Legend:

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

    r5427 r5430  
    116116} sAnimState;
    117117
    118 
     118//! Model Information definitions
    119119typedef struct
    120120{
    121   unsigned int     numVertices;
    122   unsigned int     numTriangles;
    123   unsigned int     numNormals;
     121  unsigned int     numVertices;          //!< number of Vertices in the Model
     122  unsigned int     numTriangles;         //!< number of triangles in the Model
     123  unsigned int     numNormals;           //!< how many Normals in the Model
    124124  unsigned int     numTexCoor;
    125125
    126   const float*     pVertices;
    127   sTriangleExt*    pTriangles;
    128   const float*     pNormals;
    129   const float*     pTexCoor;
     126  const float*     pVertices;            //!< array of the Vertives
     127  sTriangleExt*    pTriangles;           //!< array of all triangles
     128  const float*     pNormals;             //!< array of the Normals
     129  const float*     pTexCoor;             //!< array of the Texture Coordinates
    130130
    131131} modelInfo;
     
    140140    virtual ~AbstractModel() {}
    141141
    142     inline modelInfo* getModelInfo() const { return this->pModelInfo; }
     142    inline const modelInfo* getModelInfo() const { return this->pModelInfo; }
    143143
    144144
    145145  protected:
    146     modelInfo*     pModelInfo;      //!< Reference to the modelInfo defined in abstract_model.h
    147     Quadtree*      quadtreel;       //!< Reference to the quadtree of the object, NULL if not defined
     146    modelInfo*     pModelInfo;      //!< Reference to the modelInfo
    148147};
    149148
    150 
    151 
    152 
    153 
    154149#endif /* _ABSTRACT_MODEL_H */
Note: See TracChangeset for help on using the changeset viewer.