Panda3D
collisionInvSphere.I
1 // Filename: collisionInvSphere.I
2 // Created by: drose (05Jan05)
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: CollisionInvSphere::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE CollisionInvSphere::
22 CollisionInvSphere(const LPoint3 &center, PN_stdfloat radius) :
23  CollisionSphere(center, radius)
24 {
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: CollisionInvSphere::Constructor
29 // Access: Public
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE CollisionInvSphere::
33 CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius) :
34  CollisionSphere(cx, cy, cz, radius)
35 {
36 }
37 
38 ////////////////////////////////////////////////////////////////////
39 // Function: CollisionInvSphere::Default constructor
40 // Access: Protected
41 // Description: Creates an invalid sphere. Only used when reading
42 // from a bam file.
43 ////////////////////////////////////////////////////////////////////
44 INLINE CollisionInvSphere::
45 CollisionInvSphere() {
46 }
47 
48 ////////////////////////////////////////////////////////////////////
49 // Function: CollisionInvSphere::Copy Constructor
50 // Access: Public
51 // Description:
52 ////////////////////////////////////////////////////////////////////
53 INLINE CollisionInvSphere::
54 CollisionInvSphere(const CollisionInvSphere &copy) :
55  CollisionSphere(copy)
56 {
57 }
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition: lpoint3.h:99
A spherical collision volume or object.
An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere...