Panda3D
fltToEggLevelState.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 fltToEggLevelState.I
10  * @author drose
11  * @date 2001-04-18
12  */
13 
14 /**
15  *
16  */
17 INLINE FltToEggLevelState::
18 FltToEggLevelState(FltToEggConverter *converter) :
19  _converter(converter)
20 {
21  _flt_object = nullptr;
22  _egg_parent = nullptr;
23 }
24 
25 /**
26  *
27  */
28 INLINE FltToEggLevelState::
29 FltToEggLevelState(const FltToEggLevelState &copy) :
30  _flt_object(copy._flt_object),
31  _egg_parent(copy._egg_parent),
32  _converter(copy._converter)
33 {
34  // We don't bother to copy the _parents map.
35 }
36 
37 /**
38  *
39  */
40 INLINE void FltToEggLevelState::
41 operator = (const FltToEggLevelState &copy) {
42  _flt_object = copy._flt_object;
43  _egg_parent = copy._egg_parent;
44  _converter = copy._converter;
45  // We don't bother to copy the _parents map.
46 }
This class supervises the construction of an EggData structure from the data represented by the FltHe...
This keeps track of relevant things about the traversal as we walk through the flt hierarchy.