Panda3D
bulletConvexHullShape.I
1 // Filename: bulletConvexHullShape.I
2 // Created by: enn0x (26Jan10)
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 // Function: BulletConvexHullShape::Destructor
17 // Access: Published
18 // Description:
19 ////////////////////////////////////////////////////////////////////
20 INLINE BulletConvexHullShape::
21 ~BulletConvexHullShape() {
22 
23  delete _shape;
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: BulletConvexHullShape::Copy Constructor
28 // Access: Published
29 // Description:
30 ////////////////////////////////////////////////////////////////////
31 INLINE BulletConvexHullShape::
32 BulletConvexHullShape(const BulletConvexHullShape &copy) :
33  _shape(copy._shape) {
34 }
35 
36 ////////////////////////////////////////////////////////////////////
37 // Function: BulletConvexHullShape::Copy Assignment Operator
38 // Access: Published
39 // Description:
40 ////////////////////////////////////////////////////////////////////
41 INLINE void BulletConvexHullShape::
42 operator = (const BulletConvexHullShape &copy) {
43  _shape = copy._shape;
44 }
45