Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 7, 2005, 11:17:56 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: introduced the modelInfo struct which contains refereces to all data a model needs, this will serve as an interface

File:
1 edited

Legend:

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

    r4802 r4804  
    118118
    119119
     120typedef struct
     121{
     122  unsigned int     numVertices;
     123  unsigned int     numTriangles;
     124  unsigned int     numNormals;
     125  unsigned int     numTexCoor;
     126
     127  const float*     pVertices;
     128  sTriangleExt*    pTriangles;
     129  const float*     pNormals;
     130  const float*     pTexCoor;
     131
     132} modelInfo;
     133
     134
     135
    120136//! This class defines the basic components of a model
    121137class AbstractModel : public BaseObject {
     
    129145
    130146
     147
    131148#endif /* _ABSTRACT_MODEL_H */
Note: See TracChangeset for help on using the changeset viewer.