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