00001 // Filename: bulletBoxShape.I 00002 // Created by: enn0x (24Jan10) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: BulletBoxShape::Destructor 00018 // Access: Published 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE BulletBoxShape:: 00022 ~BulletBoxShape() { 00023 00024 delete _shape; 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: BulletBoxShape::Copy Constructor 00029 // Access: Published 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 INLINE BulletBoxShape:: 00033 BulletBoxShape(const BulletBoxShape ©) : 00034 _shape(copy._shape) { 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: BulletBoxShape::Copy Assignment Operator 00039 // Access: Published 00040 // Description: 00041 //////////////////////////////////////////////////////////////////// 00042 INLINE void BulletBoxShape:: 00043 operator = (const BulletBoxShape ©) { 00044 _shape = copy._shape; 00045 } 00046