Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
CollisionInvSphere Class Reference

An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere. More...

Inheritance diagram for CollisionInvSphere:
CollisionSphere CollisionSolid CopyOnWriteObject CachedTypedWritableReferenceCount TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject

List of all members.

Public Member Functions

 CollisionInvSphere (Point3 const center, float radius)
 CollisionInvSphere (float cx, float cy, float cz, float radius)

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere.

Everything outside the sphere is solid matter; everything inside is empty space. Useful for constraining objects to remain within a spherical perimeter.


Constructor & Destructor Documentation

CollisionInvSphere ( Point3 const  center,
float  radius 
)
CollisionInvSphere ( float  cx,
float  cy,
float  cz,
float  radius 
)

Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from CollisionSphere.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties