Panda3D
Loading...
Searching...
No Matches
eggBin.cxx
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 eggBin.cxx
10 * @author drose
11 * @date 1999-01-21
12 */
13
14#include "eggBin.h"
15
16
17TypeHandle EggBin::_type_handle;
18
19
20/**
21 *
22 */
23EggBin::
24EggBin(const std::string &name) : EggGroup(name) {
25 _bin_number = 0;
26}
27
28
29/**
30 *
31 */
32EggBin::
33EggBin(const EggGroup &copy) : EggGroup(copy) {
34 _bin_number = 0;
35}
36
37
38/**
39 *
40 */
41EggBin::
42EggBin(const EggBin &copy) : EggGroup(copy), _bin_number(copy._bin_number) {
43}
44
45
46
47/**
48 *
49 */
50void EggBin::
51set_bin_number(int bin_number) {
52 _bin_number = bin_number;
53}
54
55/**
56 *
57 */
58int EggBin::
59get_bin_number() const {
60 return _bin_number;
61}
A type of group node that holds related subnodes.
Definition eggBin.h:26
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition eggGroup.h:34
TypeHandle is the identifier used to differentiate C++ class types.
Definition typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.