Panda3D

Loading...
Searching...
No Matches
partGroup.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 partGroup.I
10 * @author drose
11 * @date 1999-02-22
12 */
13
14/**
15 * This constructor is only intended for interal use and for derived classes.
16 * You should normally use the non-default constructor, below.
17 */
18INLINE PartGroup::
19PartGroup(const std::string &name) :
20 Namable(name),
21 _children(get_class_type())
22{
23}
24
25/**
26 * This constructor is only intended for interal use and for derived classes.
27 * You should normally use the make_copy() interface to make copies..
28 */
29INLINE PartGroup::
30PartGroup(const PartGroup &copy) :
31 Namable(copy),
32 _children(get_class_type())
33{
34 // We don't copy children in the copy constructor. However, copy_subgraph()
35 // will do this.
36}
Namable
A base class for all things which can have a name.
Definition namable.h:26
PartGroup
This is the base class for PartRoot and MovingPart.
Definition partGroup.h:43