Go to the documentation of this file.
14 #ifndef PHYSXSPHERESHAPE_H
15 #define PHYSXSPHERESHAPE_H
44 void set_radius(
float radius);
46 float get_radius()
const;
49 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
51 void link(NxShape *shapePtr);
61 static void init_type() {
62 PhysxShape::init_type();
64 PhysxShape::get_class_type());
67 return get_class_type();
71 return get_class_type();
80 #endif // PHYSXSPHERESHAPE_H
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Descriptor class for PhysxSphereShape.
A sphere shaped collision detection primitive.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.