Panda3D
Loading...
Searching...
No Matches
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 */
17INLINE CollisionInvSphere::
18CollisionInvSphere(const LPoint3 &center, PN_stdfloat radius) :
19 CollisionSphere(center, radius)
20{
21}
22
23/**
24 *
25 */
26INLINE CollisionInvSphere::
27CollisionInvSphere(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 */
35INLINE CollisionInvSphere::
36CollisionInvSphere() {
37}
38
39/**
40 *
41 */
42INLINE CollisionInvSphere::
43CollisionInvSphere(const CollisionInvSphere &copy) :
44 CollisionSphere(copy)
45{
46}
An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere.
A spherical collision volume or object.