Panda3D
linearCylinderVortexForce.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 linearCylinderVortexForce.I
10  * @author charles
11  * @date 2000-07-24
12  */
13 
14 /**
15 
16  */
17 INLINE void LinearCylinderVortexForce::
18 set_radius(PN_stdfloat radius) {
19  _radius = radius;
20 }
21 
22 /**
23 
24  */
25 INLINE void LinearCylinderVortexForce::
26 set_length(PN_stdfloat length) {
27  _length = length;
28 }
29 
30 /**
31 
32  */
33 INLINE void LinearCylinderVortexForce::
34 set_coef(PN_stdfloat coef) {
35  _coef = coef;
36 }
37 
38 /**
39 
40  */
41 INLINE PN_stdfloat LinearCylinderVortexForce::
42 get_radius() const {
43  return _radius;
44 }
45 
46 /**
47 
48  */
49 INLINE PN_stdfloat LinearCylinderVortexForce::
50 get_length() const {
51  return _length;
52 }
53 
54 /**
55 
56  */
57 INLINE PN_stdfloat LinearCylinderVortexForce::
58 get_coef() const {
59  return _coef;
60 }