00001 // Filename: ringEmitter.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_radius 00021 // Access : public 00022 // Description : radius set 00023 //////////////////////////////////////////////////////////////////// 00024 00025 INLINE void RingEmitter:: 00026 set_radius(float r) { 00027 _radius = r; 00028 } 00029 00030 //////////////////////////////////////////////////////////////////// 00031 // Function : set_angle 00032 // Access : public 00033 // Description : angle of elevation set 00034 //////////////////////////////////////////////////////////////////// 00035 00036 INLINE void RingEmitter:: 00037 set_angle(float angle) { 00038 _aoe = angle; 00039 } 00040 00041 //////////////////////////////////////////////////////////////////// 00042 // Function : get_radius 00043 // Access : public 00044 // Description : radius get 00045 //////////////////////////////////////////////////////////////////// 00046 00047 INLINE float RingEmitter:: 00048 get_radius(void) const { 00049 return _radius; 00050 } 00051 00052 //////////////////////////////////////////////////////////////////// 00053 // Function : get_angle 00054 // Access : public 00055 // Description : angle of elevation get 00056 //////////////////////////////////////////////////////////////////// 00057 00058 INLINE float RingEmitter:: 00059 get_angle(void) const { 00060 return _aoe; 00061 }