45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
// Filename: rectangleEmitter.I
|
|
// Created by: charles (26Jun00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_min_bound
|
|
// Access : public
|
|
// Description : boundary set
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void RectangleEmitter::
|
|
set_min_bound(const LPoint2f& vmin) {
|
|
_vmin = vmin;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : set_max_bound
|
|
// Access : public
|
|
// Description : boundary set
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void RectangleEmitter::
|
|
set_max_bound(const LPoint2f& vmax) {
|
|
_vmax = vmax;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_min_bound
|
|
// Access : public
|
|
// Description : boundary get
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE LPoint2f RectangleEmitter::
|
|
get_min_bound(void) const {
|
|
return _vmin;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function : get_max_bound
|
|
// Access : public
|
|
// Description : boundary get
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE LPoint2f RectangleEmitter::
|
|
get_max_bound(void) const {
|
|
return _vmax;
|
|
}
|