Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2005, 12:27:19 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: importer: no more fstream c-style code only

File:
1 edited

Legend:

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

    r3895 r3909  
    2929{
    3030 public:
    31   Model(void);
    32   Model(char* modelName);
     31  Model(const char* modelName = NULL);
    3332  virtual ~Model(void);
    3433
     
    9291  float scaleFactor;    //!< The Factor with which the Model should be scaled. \todo maybe one wants to scale the Model after Initialisation
    9392
    94   bool initialize(void);
    9593  bool initGroup(Group* group);
    9694  bool initFace (Face* face);
     
    102100 public:
    103101  bool addGroup(const char* groupString);
    104   bool addVertex(char* vertexString);
     102  bool addVertex(const char* vertexString);
    105103  bool addVertex(float x, float y, float z);
    106   bool addFace(char* faceString);
     104  bool addFace(const char* faceString);
    107105  bool addFace(int faceElemCount, VERTEX_FORMAT type, ...);
    108   bool addVertexNormal(char* normalString);
     106  bool addVertexNormal(const char* normalString);
    109107  bool addVertexNormal(float x, float y, float z);
    110   bool addVertexTexture(char* vTextureString);
     108  bool addVertexTexture(const char* vTextureString);
    111109  bool addVertexTexture(float u, float v);
    112110  bool addUseMtl(const char* mtlString);
Note: See TracChangeset for help on using the changeset viewer.