|
@@ -833,17 +833,6 @@ operator WType () const {
|
|
|
return _word;
|
|
return _word;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-// Function: BitMask::operator bool
|
|
|
|
|
-// Access: Published
|
|
|
|
|
-// Description: Will return true, unless all bits are off.
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-template<class WType, int nbits>
|
|
|
|
|
-INLINE BitMask<WType, nbits>::
|
|
|
|
|
-operator bool () const {
|
|
|
|
|
- return (_word != 0);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: BitMask::get_key
|
|
// Function: BitMask::get_key
|
|
|
// Access: Published
|
|
// Access: Published
|