Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5774 in orxonox.OLD for trunk/src/lib/graphics/importer/model.h


Ignore:
Timestamp:
Nov 25, 2005, 1:36:31 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: stl in Model

File:
1 edited

Legend:

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

    r5701 r5774  
    1212#include "glincl.h"
    1313#include "array.h"
    14 
     14#include <list>
    1515
    1616// FORWARD DECLARATION //
    1717template<class T> class tArray;
    18 template<class T> class tList;
    1918
    2019
     
    176175
    177176 private:
    178   MODEL_TYPE             type;            //!< A type for the Model
    179   bool                   finalized;       //!< Sets the Object to be finalized.
     177  MODEL_TYPE                 type;            //!< A type for the Model
     178  bool                       finalized;       //!< Sets the Object to be finalized.
    180179
    181   unsigned int           vertexCount;     //!< A modelwide Counter for vertices.
    182   unsigned int           normalCount;     //!< A modelwide Counter for the normals.
    183   unsigned int           texCoordCount;   //!< A modelwide Counter for the texCoord.
    184   unsigned int           faceCount;       //!< A modelwide Counter for the faces
    185   unsigned int           triangleCount;   //!< Number of triangles >= faceCount
    186   tArray<GLfloat>*       vertices;        //!< The Array that handles the Vertices.
    187   tArray<GLfloat>*       normals;         //!< The Array that handles the Normals.
    188   tArray<GLfloat>*       vTexture;        //!< The Array that handles the VertexTextureCoordinates.
    189   sTriangleExt*          triangles;       //!< The Array of triangles in the abstract_model.h style
     180  unsigned int               vertexCount;     //!< A modelwide Counter for vertices.
     181  unsigned int               normalCount;     //!< A modelwide Counter for the normals.
     182  unsigned int               texCoordCount;   //!< A modelwide Counter for the texCoord.
     183  unsigned int               faceCount;       //!< A modelwide Counter for the faces
     184  unsigned int               triangleCount;   //!< Number of triangles >= faceCount
     185  tArray<GLfloat>*           vertices;        //!< The Array that handles the Vertices.
     186  tArray<GLfloat>*           normals;         //!< The Array that handles the Normals.
     187  tArray<GLfloat>*           vTexture;        //!< The Array that handles the VertexTextureCoordinates.
     188  sTriangleExt*              triangles;       //!< The Array of triangles in the abstract_model.h style
    190189
    191   ModelGroup*            firstGroup;      //!< The first of all groups.
    192   ModelGroup*            currentGroup;    //!< The currentGroup. this is the one we will work with.
    193   int                    groupCount;      //!< The Count of Groups.
     190  ModelGroup*                firstGroup;      //!< The first of all groups.
     191  ModelGroup*                currentGroup;    //!< The currentGroup. this is the one we will work with.
     192  int                        groupCount;      //!< The Count of Groups.
    194193
    195   tList<ModelMaterial>*  materialList;    //!< A list for all the Materials in this Model
     194  std::list<ModelMaterial*>  materialList;    //!< A list for all the Materials in this Model
    196195};
    197196
Note: See TracChangeset for help on using the changeset viewer.