add clear_lod
This commit is contained in:
parent
6a75a90cec
commit
bb3af27df0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue