14 #ifndef PHYSXSPHERESHAPEDESC_H 15 #define PHYSXSPHERESHAPEDESC_H 31 INLINE
void set_to_default();
32 INLINE
bool is_valid()
const;
34 void set_radius(
float radius);
36 float get_radius()
const;
39 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
40 NxSphereShapeDesc _desc;
45 #endif // PHYSXSPHERESHAPEDESC_H Descriptor class for PhysxSphereShape.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for shape descriptors.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.