Skip to content

Commit fde3801

Browse files
authored
Update ofVboMesh.h
1 parent 521acf3 commit fde3801

1 file changed

Lines changed: 14 additions & 17 deletions

File tree

libs/openFrameworks/gl/ofVboMesh.h

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
class ofVboMesh: public ofMesh{
77
public:
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

4643
private:
4744

0 commit comments

Comments
 (0)