add clear_lod

This commit is contained in:
David Rose 2001-06-28 01:18:16 +00:00
parent 6a75a90cec
commit bb3af27df0
2 changed files with 11 additions and 0 deletions

View File

@ -613,6 +613,16 @@ set_lod(const EggSwitchCondition &lod) {
_lod = lod.make_copy();
}
////////////////////////////////////////////////////////////////////
// Function: EggGroup::clear_lod
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void EggGroup::
clear_lod() {
_lod = NULL;
}
////////////////////////////////////////////////////////////////////
// Function: EggGroup::has_lod
// Access: Public

View File

@ -172,6 +172,7 @@ public:
INLINE CollideMask get_into_collide_mask() const;
INLINE void set_lod(const EggSwitchCondition &lod);
INLINE void clear_lod();
INLINE bool has_lod() const;
INLINE const EggSwitchCondition &get_lod() const;