15 #ifndef PHYSXSPHERESHAPE_H
16 #define PHYSXSPHERESHAPE_H
18 #include "pandabase.h"
21 #include "physxShape.h"
22 #include "physx_includes.h"
46 INLINE ~PhysxSphereShape();
50 void set_radius(
float radius);
52 float get_radius()
const;
56 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
58 void link(NxShape *shapePtr);
69 static void init_type() {
70 PhysxShape::init_type();
71 register_type(_type_handle,
"PhysxSphereShape",
72 PhysxShape::get_class_type());
75 return get_class_type();
79 return get_class_type();
86 #include "physxSphereShape.I"
88 #endif // PHYSXSPHERESHAPE_H
Descriptor class for PhysxSphereShape.
Abstract base class for shapes.
A sphere shaped collision detection primitive.
TypeHandle is the identifier used to differentiate C++ class types.