00001 // Filename: boxEmitter.I 00002 // Created by: charles (26Jun00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 //////////////////////////////////////////////////////////////////// 00016 // Function : set_min_bound 00017 // Access : Public 00018 // Description : boundary assignment 00019 //////////////////////////////////////////////////////////////////// 00020 INLINE void BoxEmitter:: 00021 set_min_bound(const LPoint3& vmin) { 00022 _vmin = vmin; 00023 } 00024 00025 //////////////////////////////////////////////////////////////////// 00026 // Function : set_max_bound 00027 // Access : Public 00028 // Description : boundary assignment 00029 //////////////////////////////////////////////////////////////////// 00030 INLINE void BoxEmitter:: 00031 set_max_bound(const LPoint3& vmax) { 00032 _vmax = vmax; 00033 } 00034 00035 //////////////////////////////////////////////////////////////////// 00036 // Function : get_min_bound 00037 // Access : Public 00038 // Description : boundary accessor 00039 //////////////////////////////////////////////////////////////////// 00040 INLINE LPoint3 BoxEmitter:: 00041 get_min_bound() const { 00042 return _vmin; 00043 } 00044 00045 //////////////////////////////////////////////////////////////////// 00046 // Function : get_max_bound 00047 // Access : Public 00048 // Description : boundary accessor 00049 //////////////////////////////////////////////////////////////////// 00050 INLINE LPoint3 BoxEmitter:: 00051 get_max_bound() const { 00052 return _vmax; 00053 }