open_toontown_panda3d/panda/src/particlesystem/boxEmitter.I

45 lines
1.3 KiB
Plaintext

// Filename: boxEmitter.I
// Created by: charles (26Jun00)
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function : set_min_bound
// Access : Public
// Description : boundary assignment
////////////////////////////////////////////////////////////////////
INLINE void BoxEmitter::
set_min_bound(const LPoint3f& vmin) {
_vmin = vmin;
}
////////////////////////////////////////////////////////////////////
// Function : set_max_bound
// Access : Public
// Description : boundary assignment
////////////////////////////////////////////////////////////////////
INLINE void BoxEmitter::
set_max_bound(const LPoint3f& vmax) {
_vmax = vmax;
}
////////////////////////////////////////////////////////////////////
// Function : get_min_bound
// Access : Public
// Description : boundary accessor
////////////////////////////////////////////////////////////////////
INLINE LPoint3f BoxEmitter::
get_min_bound(void) const {
return _vmin;
}
////////////////////////////////////////////////////////////////////
// Function : get_max_bound
// Access : Public
// Description : boundary accessor
////////////////////////////////////////////////////////////////////
INLINE LPoint3f BoxEmitter::
get_max_bound(void) const {
return _vmax;
}