Panda3D
 All Classes Functions Variables Enumerations
linearCylinderVortexForce.I
1 // Filename: linearCylinderVortexForce.I
2 // Created by: charles (24Jul00)
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 ////////////////////////////////////////////////////////////////////
16 // Function : set_radius
17 // Access : public
18 ////////////////////////////////////////////////////////////////////
19 INLINE void LinearCylinderVortexForce::
20 set_radius(PN_stdfloat radius) {
21  _radius = radius;
22 }
23 
24 ////////////////////////////////////////////////////////////////////
25 // Function : set_length
26 // Access : public
27 ////////////////////////////////////////////////////////////////////
28 INLINE void LinearCylinderVortexForce::
29 set_length(PN_stdfloat length) {
30  _length = length;
31 }
32 
33 ////////////////////////////////////////////////////////////////////
34 // Function : set_coef
35 // Access : public
36 ////////////////////////////////////////////////////////////////////
37 INLINE void LinearCylinderVortexForce::
38 set_coef(PN_stdfloat coef) {
39  _coef = coef;
40 }
41 
42 ////////////////////////////////////////////////////////////////////
43 // Function : get_radius
44 // Access : public
45 ////////////////////////////////////////////////////////////////////
46 INLINE PN_stdfloat LinearCylinderVortexForce::
47 get_radius() const {
48  return _radius;
49 }
50 
51 ////////////////////////////////////////////////////////////////////
52 // Function : get_length
53 // Access : public
54 ////////////////////////////////////////////////////////////////////
55 INLINE PN_stdfloat LinearCylinderVortexForce::
56 get_length() const {
57  return _length;
58 }
59 
60 ////////////////////////////////////////////////////////////////////
61 // Function : get_coef
62 // Access : public
63 ////////////////////////////////////////////////////////////////////
64 INLINE PN_stdfloat LinearCylinderVortexForce::
65 get_coef() const {
66  return _coef;
67 }