Panda3D
sphereVolumeEmitter.I
1 // Filename: sphereVolumeEmitter.I
2 // Created by: charles (26Jun00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "config_particlesystem.h"
16 
17 ////////////////////////////////////////////////////////////////////
18 // Function : set_radius
19 // Access : public
20 // Description : radius set
21 ////////////////////////////////////////////////////////////////////
22 
23 INLINE void SphereVolumeEmitter::
24 set_radius(PN_stdfloat r) {
25  _radius = r;
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function : get_radius
30 // Access : public
31 // Description : radius get
32 ////////////////////////////////////////////////////////////////////
33 
34 INLINE PN_stdfloat SphereVolumeEmitter::
35 get_radius() const {
36  return _radius;
37 }
PN_stdfloat get_radius() const
radius get
void set_radius(PN_stdfloat r)
radius set