Panda3D
zSpinParticle.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 zSpinParticle.I
10  * @author charles
11  * @date 2000-08-16
12  */
13 
14 /**
15  * accessor
16  */
17 INLINE void ZSpinParticle::
18 set_initial_angle(PN_stdfloat t) {
19  _initial_angle = t;
20 }
21 
22 /**
23  * accessor
24  */
25 INLINE PN_stdfloat ZSpinParticle::
27  return _initial_angle;
28 }
29 
30 /**
31  * accessor
32  */
33 INLINE void ZSpinParticle::
34 set_final_angle(PN_stdfloat t) {
35  _final_angle = t;
36 }
37 
38 /**
39  * accessor
40  */
41 INLINE PN_stdfloat ZSpinParticle::
42 get_final_angle() const {
43  return _final_angle;
44 }
45 
46 INLINE PN_stdfloat ZSpinParticle::
47 get_angular_velocity() const {
48  return _angular_velocity;
49 }
50 
51 INLINE void ZSpinParticle::
52 set_angular_velocity(PN_stdfloat v) {
53  _angular_velocity = v;
54 }
55 
56 INLINE void ZSpinParticle::
57 enable_angular_velocity(bool bEnabled) {
58  _bUseAngularVelocity = bEnabled;
59 }
60 
61 INLINE bool ZSpinParticle::
62 get_angular_velocity_enabled() const {
63  return _bUseAngularVelocity;
64 }
void set_initial_angle(PN_stdfloat t)
accessor
Definition: zSpinParticle.I:18
void set_final_angle(PN_stdfloat t)
accessor
Definition: zSpinParticle.I:34
PN_stdfloat get_final_angle() const
accessor
Definition: zSpinParticle.I:42
PN_stdfloat get_initial_angle() const
accessor
Definition: zSpinParticle.I:26