Panda3D
movingPartScalar.I
1 // Filename: movingPartScalar.I
2 // Created by: drose (23Feb99)
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 ////////////////////////////////////////////////////////////////////
17 // Function: MovingPartScalar::Copy Constructor
18 // Access: Protected
19 // Description: Normally, you'd use make_copy() or copy_subgraph() to
20 // make a copy of this.
21 ////////////////////////////////////////////////////////////////////
22 INLINE MovingPartScalar::
23 MovingPartScalar(const MovingPartScalar &copy) :
25 {
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: MovingPartScalar::Constructor
30 // Access: Public
31 // Description:
32 ////////////////////////////////////////////////////////////////////
33 INLINE MovingPartScalar::
34 MovingPartScalar(PartGroup *parent, const string &name,
35  const PN_stdfloat &default_value)
36  : MovingPart<ACScalarSwitchType>(parent, name, default_value) {
37 }
38 
39 ////////////////////////////////////////////////////////////////////
40 // Function: MovingPartScalar::Constructor
41 // Access: Public
42 // Description:
43 ////////////////////////////////////////////////////////////////////
44 INLINE MovingPartScalar::
45 MovingPartScalar(){
46 }
This is the template instantiation of MovingPartBase, on the particular type of value provided by the...
Definition: movingPart.h:30
This is a particular kind of MovingPart that accepts a scalar each frame.
This is the base class for PartRoot and MovingPart.
Definition: partGroup.h:45