55
66class ofVboMesh : public ofMesh {
77public:
8- using ofMesh::draw;
9- ofVboMesh ();
10- ofVboMesh (const ofMesh & mom);
8+ using ofMesh::draw;
9+ ofVboMesh ();
10+ ofVboMesh (const ofMesh & mom);
1111 void operator =(const ofMesh & mom);
12- virtual ~ofVboMesh ();
13- void setUsage (int usage);
12+ virtual ~ofVboMesh ();
13+ void setUsage (int usage);
1414
1515 void enableColors ();
1616 void enableTextures ();
@@ -22,26 +22,23 @@ class ofVboMesh: public ofMesh{
2222 void disableNormals ();
2323 void disableIndices ();
2424
25- void removeVertex (ofIndexType index);
26- void removeVertex (ofIndexType startIndex, ofIndexType endIndex);
27- void removeColor (ofIndexType index);
28- void removeColor (ofIndexType startIndex, ofIndexType endIndex);
29- // void removeTexCoord(ofIndexType index);
30- //
31- // void removeTexCoord(ofIndexType startIndex, ofIndexType endIndex);
25+ void removeVertex (ofIndexType index);
26+ void removeVertex (ofIndexType startIndex, ofIndexType endIndex);
27+ void removeColor (ofIndexType index);
28+ void removeColor (ofIndexType startIndex, ofIndexType endIndex);
3229
3330 virtual bool usingColors () const ;
3431 virtual bool usingTextures () const ;
3532 virtual bool usingNormals () const ;
3633 virtual bool usingIndices () const ;
3734
38- void updateVbo ();
35+ void updateVbo ();
3936
40- void draw (ofPolyRenderMode drawMode) const ;
41- void drawInstanced (ofPolyRenderMode drawMode, int primCount) const ;
37+ void draw (ofPolyRenderMode drawMode) const ;
38+ void drawInstanced (ofPolyRenderMode drawMode, int primCount) const ;
4239
43- ofVbo & getVbo ();
44- const ofVbo & getVbo () const ;
40+ ofVbo & getVbo ();
41+ const ofVbo & getVbo () const ;
4542
4643private:
4744
0 commit comments