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