00001 // Filename: sphereVolumeEmitter.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 #include "config_particlesystem.h" 00016 00017 //////////////////////////////////////////////////////////////////// 00018 // Function : set_radius 00019 // Access : public 00020 // Description : radius set 00021 //////////////////////////////////////////////////////////////////// 00022 00023 INLINE void SphereVolumeEmitter:: 00024 set_radius(PN_stdfloat r) { 00025 _radius = r; 00026 } 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Function : get_radius 00030 // Access : public 00031 // Description : radius get 00032 //////////////////////////////////////////////////////////////////// 00033 00034 INLINE PN_stdfloat SphereVolumeEmitter:: 00035 get_radius() const { 00036 return _radius; 00037 }