Panda3D
collisionInvSphere.I
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 collisionInvSphere.I
10  * @author drose
11  * @date 2005-01-05
12  */
13 
14 /**
15  *
16  */
17 INLINE CollisionInvSphere::
18 CollisionInvSphere(const LPoint3 &center, PN_stdfloat radius) :
19  CollisionSphere(center, radius)
20 {
21 }
22 
23 /**
24  *
25  */
26 INLINE CollisionInvSphere::
27 CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius) :
28  CollisionSphere(cx, cy, cz, radius)
29 {
30 }
31 
32 /**
33  * Creates an invalid sphere. Only used when reading from a bam file.
34  */
35 INLINE CollisionInvSphere::
36 CollisionInvSphere() {
37 }
38 
39 /**
40  *
41  */
42 INLINE CollisionInvSphere::
43 CollisionInvSphere(const CollisionInvSphere &copy) :
44  CollisionSphere(copy)
45 {
46 }
A spherical collision volume or object.
An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere.