Panda3D
zSpinParticleFactory.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 zSpinParticleFactory.I
10  * @author charles
11  * @date 2000-08-16
12  */
13 
14 /**
15 
16  */
17 INLINE void ZSpinParticleFactory::
18 set_initial_angle(PN_stdfloat angle) {
19  _initial_angle = angle;
20 }
21 
22 /**
23 
24  */
25 INLINE void ZSpinParticleFactory::
26 set_final_angle(PN_stdfloat angle) {
27  _final_angle = angle;
28 }
29 
30 /**
31 
32  */
33 INLINE void ZSpinParticleFactory::
34 set_initial_angle_spread(PN_stdfloat spread) {
35  _initial_angle_spread = spread;
36 }
37 
38 /**
39 
40  */
41 INLINE void ZSpinParticleFactory::
42 set_final_angle_spread(PN_stdfloat spread) {
43  _final_angle_spread = spread;
44 }
45 
46 /**
47 
48  */
49 INLINE PN_stdfloat ZSpinParticleFactory::
50 get_initial_angle() const {
51  return _initial_angle;
52 }
53 
54 /**
55 
56  */
57 INLINE PN_stdfloat ZSpinParticleFactory::
58 get_final_angle() const {
59  return _final_angle;
60 }
61 
62 /**
63 
64  */
65 INLINE PN_stdfloat ZSpinParticleFactory::
66 get_initial_angle_spread() const {
67  return _initial_angle_spread;
68 }
69 
70 /**
71 
72  */
73 INLINE PN_stdfloat ZSpinParticleFactory::
74 get_final_angle_spread() const {
75  return _final_angle_spread;
76 }
77 
78 /**
79 
80  */
81 INLINE PN_stdfloat ZSpinParticleFactory::
82 get_angular_velocity() const {
83  return _angular_velocity;
84 }
85 
86 INLINE void ZSpinParticleFactory::
87 set_angular_velocity(PN_stdfloat v) {
88  _angular_velocity = v;
89 }
90 
91 INLINE PN_stdfloat ZSpinParticleFactory::
92 get_angular_velocity_spread() const {
93  return _angular_velocity_spread;
94 }
95 
96 INLINE void ZSpinParticleFactory::
97 set_angular_velocity_spread(PN_stdfloat spread) {
98  _angular_velocity_spread = spread;
99 }
100 
101 
102 INLINE void ZSpinParticleFactory::
103 enable_angular_velocity(bool bEnabled) {
104  _bUseAngularVelocity = bEnabled;
105 }
106 
107 INLINE bool ZSpinParticleFactory::
108 get_angular_velocity_enabled() const {
109  return _bUseAngularVelocity;
110 }