Changeset 3894 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/model.h
- Timestamp:
- Apr 19, 2005, 6:48:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.h
r3801 r3894 19 19 #define NORMAL 1 //!< If Faces are created WITH Normals (otherwise autocalculate) 20 20 #define TEXCOORD 2 //!< If Faces are created WITH TextureCoordinate 21 //! an enumerator for VERTEX_FORMAT 22 enum VERTEX_FORMAT {VERTEX_ONLY = VERTEX, 23 VERTEX_NORMAL = NORMAL, 24 VERTEX_TEXCOORD = TEXCOORD, 25 VERTEXT_TEXTURE_NORMAL = NORMAL | TEXCOORD}; 21 26 22 27 //! Class that handles 3D-Models. it can also read them in and display them. … … 96 101 97 102 public: 98 bool addGroup(c har* groupString);103 bool addGroup(const char* groupString); 99 104 bool addVertex(char* vertexString); 100 bool addVertex( const float x, const float y, constfloat z);105 bool addVertex(float x, float y, float z); 101 106 bool addFace(char* faceString); 102 bool addFace( const float faceElemCount, int type, ...);107 bool addFace(int faceElemCount, int type, ...); 103 108 bool addVertexNormal(char* normalString); 104 bool addVertexNormal( const float x, const float y, constfloat z);109 bool addVertexNormal(float x, float y, float z); 105 110 bool addVertexTexture(char* vTextureString); 106 bool addVertexTexture( const float u, constfloat v);107 bool addUseMtl(c har* mtlString);111 bool addVertexTexture(float u, float v); 112 bool addUseMtl(const char* mtlString); 108 113 bool addUseMtl(Material* mtl); 109 114 void finalize(void);
Note: See TracChangeset
for help on using the changeset viewer.