Panda3D
 All Classes Functions Variables Enumerations
bulletBoxShape.I
1 // Filename: bulletBoxShape.I
2 // Created by: enn0x (24Jan10)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: BulletBoxShape::Destructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE BulletBoxShape::
22 ~BulletBoxShape() {
23 
24  delete _shape;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: BulletBoxShape::Copy Constructor
29 // Access: Published
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE BulletBoxShape::
33 BulletBoxShape(const BulletBoxShape &copy) :
34  _shape(copy._shape) {
35 }
36 
37 ////////////////////////////////////////////////////////////////////
38 // Function: BulletBoxShape::Copy Assignment Operator
39 // Access: Published
40 // Description:
41 ////////////////////////////////////////////////////////////////////
42 INLINE void BulletBoxShape::
43 operator = (const BulletBoxShape &copy) {
44  _shape = copy._shape;
45 }
46