Changed the SetFF IsFF, ClearFF flag functions to the new names SetF IsF, ClearF

This commit is contained in:
Paolo Cignoni 2008-06-30 09:58:43 +00:00
parent a4a0d6acf3
commit d3debc41e4
1 changed files with 3 additions and 3 deletions

View File

@ -959,11 +959,11 @@ public:
void ClearB(int i) {_flags &= (~(BORDER0<<i));}
/// This function checks if the face is Crease on side i
bool IsFF(int i) const {return (_flags & (FEATURE0<<i)) != 0;}
bool IsF(int i) const {return (_flags & (FEATURE0<<i)) != 0;}
/// This function select the face flag
void SetFF(int i) {_flags |=(FEATURE0<<i);}
void SetF(int i) {_flags |=(FEATURE0<<i);}
/// This funcion execute the inverse operation of Set()
void ClearFF(int i) {_flags &= (~(FEATURE0<<i));}
void ClearF(int i) {_flags &= (~(FEATURE0<<i));}
/// This function checks if the given user bit is true
bool IsUserBit(int userBit){return (_flags & userBit) != 0;}