historical/toontown-classic.git/panda/include/partGroup.I

37 lines
967 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file partGroup.I
* @author drose
* @date 1999-02-22
*/
/**
* This constructor is only intended for interal use and for derived classes.
* You should normally use the non-default constructor, below.
*/
INLINE PartGroup::
PartGroup(const std::string &name) :
Namable(name),
_children(get_class_type())
{
}
/**
* This constructor is only intended for interal use and for derived classes.
* You should normally use the make_copy() interface to make copies..
*/
INLINE PartGroup::
PartGroup(const PartGroup &copy) :
Namable(copy),
_children(get_class_type())
{
// We don't copy children in the copy constructor. However, copy_subgraph()
// will do this.
}