Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

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

    r4678 r4746  
    9999 public:
    100100  Model(const char* modelName = NULL, MODEL_TYPE type = MODEL_DISPLAY_LIST);
    101   virtual ~Model(void);
     101  virtual ~Model();
    102102
    103   void draw(void) const;
     103  void draw() const;
    104104  void draw(int groupNumber) const;
    105105  void draw(char* groupName) const;
    106106
    107107  /** \returns Count of the Models (Groups) in this File */
    108   inline int getGroupCount(void) const { return this->groupCount; };
     108  inline int getGroupCount() const { return this->groupCount; };
    109109
    110110  /** \returns a Pointer to the Vertex-Array, if it was deleted it returns NULL */
    111   inline const GLfloat* getVertexArray(void) const { return this->vertices->getArray(); };
     111  inline const GLfloat* getVertexArray() const { return this->vertices->getArray(); };
    112112  /** \returns the VertexCount of this Model */
    113   inline unsigned int getVertexCount(void) const { return this->vertexCount; };
     113  inline unsigned int getVertexCount() const { return this->vertexCount; };
    114114
    115115  /** \returns a Pointer to the Normals-Array, if it was deleted it returns NULL */
    116   inline const GLfloat* getNormalsArray(void) const { return this->normals->getArray(); };
     116  inline const GLfloat* getNormalsArray() const { return this->normals->getArray(); };
    117117  /** \returns the NormalsCount of this Model */
    118   inline unsigned int getNormalsCount(void) const { return this->normalCount; };
     118  inline unsigned int getNormalsCount() const { return this->normalCount; };
    119119
    120120  /** \returns a Pointer to the TexCoord-Array, if it was deleted it returns NULL */
    121   inline const GLfloat* getTexCoordArray(void) const { return this->vTexture->getArray(); };
     121  inline const GLfloat* getTexCoordArray() const { return this->vTexture->getArray(); };
    122122  /** \returns the TexCoord-Count of this Model */
    123   inline unsigned int getTexCoordCount(void) const { return this->texCoordCount; };
     123  inline unsigned int getTexCoordCount() const { return this->texCoordCount; };
    124124
    125125  /** \returns the Count of Faces of this Model */
     
    141141  bool setMaterial(const char* mtlString);
    142142  bool setMaterial(Material* mtl);
    143   void finalize(void);
     143  void finalize();
    144144
    145145
    146146 protected:
    147   void cubeModel(void);
     147  void cubeModel();
    148148
    149149  Material* findMaterialByName(const char* materialName);
     
    154154
    155155 private:
    156   bool buildVertexNormals(void);
     156  bool buildVertexNormals();
    157157
    158   bool importToDisplayList(void);
     158  bool importToDisplayList();
    159159  bool addGLElement(ModelFaceElement* elem);
    160160
    161   bool importToVertexArray(void);
     161  bool importToVertexArray();
    162162
    163   bool deleteArrays(void);
    164   bool cleanup(void);
     163  bool deleteArrays();
     164  bool cleanup();
    165165
    166166 private:
Note: See TracChangeset for help on using the changeset viewer.