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