Forgot bool operator for OdeGeom

This commit is contained in:
rdb 2009-04-14 15:18:05 +00:00
parent aa7e470e82
commit 435805081d
2 changed files with 6 additions and 0 deletions

View File

@ -191,3 +191,8 @@ convert_to_quad_tree_space() const {
return OdeQuadTreeSpace((dSpaceID)_id);
}
OdeGeom::
operator bool () const {
return (_id != NULL);
}

View File

@ -120,6 +120,7 @@ PUBLISHED:
OdeSpace get_space() const;
virtual void write(ostream &out = cout, unsigned int indent=0) const;
operator bool () const;
INLINE int compare_to(const OdeGeom &other) const;
OdeBoxGeom convert_to_box() const;