00001 // Filename: collisionInvSphere.I 00002 // Created by: drose (05Jan05) 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: CollisionInvSphere::Constructor 00018 // Access: Public 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE CollisionInvSphere:: 00022 CollisionInvSphere(const LPoint3 ¢er, PN_stdfloat radius) : 00023 CollisionSphere(center, radius) 00024 { 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: CollisionInvSphere::Constructor 00029 // Access: Public 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 INLINE CollisionInvSphere:: 00033 CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius) : 00034 CollisionSphere(cx, cy, cz, radius) 00035 { 00036 } 00037 00038 //////////////////////////////////////////////////////////////////// 00039 // Function: CollisionInvSphere::Default constructor 00040 // Access: Protected 00041 // Description: Creates an invalid sphere. Only used when reading 00042 // from a bam file. 00043 //////////////////////////////////////////////////////////////////// 00044 INLINE CollisionInvSphere:: 00045 CollisionInvSphere() { 00046 } 00047 00048 //////////////////////////////////////////////////////////////////// 00049 // Function: CollisionInvSphere::Copy Constructor 00050 // Access: Public 00051 // Description: 00052 //////////////////////////////////////////////////////////////////// 00053 INLINE CollisionInvSphere:: 00054 CollisionInvSphere(const CollisionInvSphere ©) : 00055 CollisionSphere(copy) 00056 { 00057 }