00001 // Filename: boxEmitter.I 00002 // Created by: charles (26Jun00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function : set_min_bound 00021 // Access : Public 00022 // Description : boundary assignment 00023 //////////////////////////////////////////////////////////////////// 00024 INLINE void BoxEmitter:: 00025 set_min_bound(const LPoint3f& vmin) { 00026 _vmin = vmin; 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function : set_max_bound 00031 // Access : Public 00032 // Description : boundary assignment 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE void BoxEmitter:: 00035 set_max_bound(const LPoint3f& vmax) { 00036 _vmax = vmax; 00037 } 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Function : get_min_bound 00041 // Access : Public 00042 // Description : boundary accessor 00043 //////////////////////////////////////////////////////////////////// 00044 INLINE LPoint3f BoxEmitter:: 00045 get_min_bound(void) const { 00046 return _vmin; 00047 } 00048 00049 //////////////////////////////////////////////////////////////////// 00050 // Function : get_max_bound 00051 // Access : Public 00052 // Description : boundary accessor 00053 //////////////////////////////////////////////////////////////////// 00054 INLINE LPoint3f BoxEmitter:: 00055 get_max_bound(void) const { 00056 return _vmax; 00057 }