ofDoc > 3d > ofMeshFace

ofMeshFace

Public Functions

void setVertex (int index, const ofVec3f &v)
ofVec3f getVertex (int index) const
void setNormal (int index, const ofVec3f &n)
ofVec3f getNormal (int index) const
void setColor (int index, const ofFloatColor &color)
ofFloatColor getColor (int index) const
void setTexCoord (int index, const ofVec2f &tCoord)
ofVec2f getTexCoord (int index) const
void setHasColors (bool bColors)
void setHasNormals (bool bNormals)
void setHasTexcoords (bool bTexcoords)
bool hasColors () const
bool hasNormals () const
bool hasTexcoords () const