15 #ifndef PHYSXGROUPSMASK_H 16 #define PHYSXGROUPSMASK_H 18 #include "pandabase.h" 20 #include "physx_includes.h" 30 INLINE PhysxGroupsMask(NxGroupsMask mask);
31 INLINE ~PhysxGroupsMask();
33 void set_bit(
unsigned int idx);
34 void clear_bit(
unsigned int idx);
35 bool get_bit(
unsigned int idx)
const;
37 void output(ostream &out)
const;
39 static PhysxGroupsMask all_on();
40 static PhysxGroupsMask all_off();
42 INLINE
unsigned int get_bits0()
const;
43 INLINE
unsigned int get_bits1()
const;
44 INLINE
unsigned int get_bits2()
const;
45 INLINE
unsigned int get_bits3()
const;
47 INLINE
void set_bits0(
unsigned int bits );
48 INLINE
void set_bits1(
unsigned int bits );
49 INLINE
void set_bits2(
unsigned int bits );
50 INLINE
void set_bits3(
unsigned int bits );
53 INLINE NxGroupsMask get_mask()
const;
54 INLINE
void set_mask(NxGroupsMask mask);
59 INLINE ostream &operator << (ostream &out,
const PhysxGroupsMask &mask) {
64 #include "physxGroupsMask.I" 66 #endif // PHYSXGROUPSMASK_H void output(ostream &out) const
Writes the PhysxGroupsMask out as a list of ones and zeros.