mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Forgot bool operator for OdeGeom
This commit is contained in:
parent
aa7e470e82
commit
435805081d
@ -191,3 +191,8 @@ convert_to_quad_tree_space() const {
|
|||||||
return OdeQuadTreeSpace((dSpaceID)_id);
|
return OdeQuadTreeSpace((dSpaceID)_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OdeGeom::
|
||||||
|
operator bool () const {
|
||||||
|
return (_id != NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -120,6 +120,7 @@ PUBLISHED:
|
|||||||
OdeSpace get_space() const;
|
OdeSpace get_space() const;
|
||||||
|
|
||||||
virtual void write(ostream &out = cout, unsigned int indent=0) const;
|
virtual void write(ostream &out = cout, unsigned int indent=0) const;
|
||||||
|
operator bool () const;
|
||||||
INLINE int compare_to(const OdeGeom &other) const;
|
INLINE int compare_to(const OdeGeom &other) const;
|
||||||
|
|
||||||
OdeBoxGeom convert_to_box() const;
|
OdeBoxGeom convert_to_box() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user