Changeset 3400 in orxonox.OLD for orxonox/trunk/src/importer/model.h
- Timestamp:
- Feb 7, 2005, 12:34:47 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/importer/model.h
r3398 r3400 92 92 float scaleFactor; //!< The Factor with which the Model should be scaled. \todo maybe one wants to scale the Model after Initialisation 93 93 94 bool initialize 94 bool initialize(void); 95 95 bool initGroup(Group* group); 96 96 bool initFace (Face* face); … … 101 101 102 102 public: 103 bool addGroup (char* groupString); 104 bool addVertex (char* vertexString); 105 bool addFace (char* faceString); 106 bool addVertexNormal (char* normalString); 107 bool addVertexTexture (char* vTextureString); 108 bool addUseMtl (char* mtlString); 103 bool addGroup(char* groupString); 104 bool addVertex(char* vertexString); 105 bool addVertex(const float x, const float y, const float z); 106 bool addFace(char* faceString); 107 bool addFace(const float faceElemCount, ...); 108 bool addVertexNormal(char* normalString); 109 bool addVertexNormal(const float x, const float y, const float z); 110 bool addVertexTexture(char* vTextureString); 111 bool addVertexTexture(const float u, const float v); 112 bool addUseMtl(char* mtlString); 109 113 void finalize(void); 110 114 111 115 protected: 112 bool importToGL 113 bool addGLElement 116 bool importToGL(void); 117 bool addGLElement(FaceElement* elem); 114 118 115 bool buildVertexNormals ();119 bool buildVertexNormals(void); 116 120 117 void BoxModel (void); 121 void cubeModel(void); 122 void cylinderModel(void); 118 123 }; 119 124
Note: See TracChangeset
for help on using the changeset viewer.