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