15 #ifndef PHYSXSPHERESHAPEDESC_H
16 #define PHYSXSPHERESHAPEDESC_H
18 #include "pandabase.h"
20 #include "physxShapeDesc.h"
21 #include "physx_includes.h"
31 INLINE ~PhysxSphereShapeDesc();
33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 void set_radius(
float radius);
38 float get_radius()
const;
41 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
42 NxSphereShapeDesc _desc;
45 #include "physxSphereShapeDesc.I"
47 #endif // PHYSXSPHERESHAPEDESC_H
Descriptor class for PhysxSphereShape.
Abstract base class for shape descriptors.