mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
actually, temporarily revert my "operator WType" too, Python uses it for bool evaluation too
This commit is contained in:
parent
32ec1fbc77
commit
4818adb5ed
@ -821,18 +821,6 @@ operator >>= (int shift) {
|
|||||||
_word >>= shift;
|
_word >>= shift;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
// Function: BitMask::operator WType
|
|
||||||
// Access: Published
|
|
||||||
// Description: Used to cast this BitMask back into the
|
|
||||||
// underlying integer type.
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
template<class WType, int nbits>
|
|
||||||
INLINE BitMask<WType, nbits>::
|
|
||||||
operator WType () const {
|
|
||||||
return _word;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: BitMask::get_key
|
// Function: BitMask::get_key
|
||||||
// Access: Published
|
// Access: Published
|
||||||
|
@ -118,8 +118,6 @@ PUBLISHED:
|
|||||||
INLINE void operator <<= (int shift);
|
INLINE void operator <<= (int shift);
|
||||||
INLINE void operator >>= (int shift);
|
INLINE void operator >>= (int shift);
|
||||||
|
|
||||||
INLINE operator WType () const;
|
|
||||||
|
|
||||||
INLINE void flood_down_in_place();
|
INLINE void flood_down_in_place();
|
||||||
INLINE void flood_up_in_place();
|
INLINE void flood_up_in_place();
|
||||||
INLINE BitMask<WType, nbits> flood_bits_down() const;
|
INLINE BitMask<WType, nbits> flood_bits_down() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user