Changeset 6021 in orxonox.OLD for branches/newModel/src/lib/graphics/importer/static_model.h
- Timestamp:
- Dec 10, 2005, 7:52:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newModel/src/lib/graphics/importer/static_model.h
r6020 r6021 1 1 /*! 2 \filemodel.h3 \brief Contains the Model Class that handles 3D-Models4 */5 6 #ifndef _ MODEL_H7 #define _ MODEL_H8 9 #include " abstract_model.h"2 * @file static_model.h 3 * @brief Contains the Model Class that handles Static 3D-Models rendered with glList's 4 */ 5 6 #ifndef _STATIC_MODEL_H 7 #define _STATIC_MODEL_H 8 9 #include "model.h" 10 10 11 11 #include "material.h" … … 103 103 /// MODEL /// 104 104 ///////////// 105 //! Class that handles 3D-Models. it can also read them in and display them. 106 class Model : public AbstractModel 107 { 108 public: 109 Model(const char* modelName = NULL, MODEL_TYPE type = MODEL_DISPLAY_LIST); 110 virtual ~Model(); 111 112 void draw() const; 105 //! Class that handles static 3D-Models. 106 /** 107 * it can also read them in and display them. 108 * All the objects are rendered with glLists 109 */ 110 class StaticModel : public Model 111 { 112 public: 113 StaticModel(const char* modelName = NULL, MODEL_TYPE type = MODEL_DISPLAY_LIST); 114 virtual ~StaticModel(); 115 116 virtual void draw() const; 113 117 void draw(int groupNumber) const; 114 118 void draw(char* groupName) const; … … 188 192 tArray<GLfloat>* normals; //!< The Array that handles the Normals. 189 193 tArray<GLfloat>* vTexture; //!< The Array that handles the VertexTextureCoordinates. 190 sTriangleExt* triangles; //!< The Array of triangles in the abstract_model.h style194 sTriangleExt* triangles; //!< The Array of triangles in the model.h style 191 195 192 196 ModelGroup* firstGroup; //!< The first of all groups.
Note: See TracChangeset
for help on using the changeset viewer.