15 #ifndef PHYSXCAPSULESHAPEDESC_H
16 #define PHYSXCAPSULESHAPEDESC_H
18 #include "pandabase.h"
20 #include "physxShapeDesc.h"
21 #include "physx_includes.h"
31 INLINE ~PhysxCapsuleShapeDesc();
33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 void set_radius(
float radius);
37 void set_height(
float height);
39 float get_radius()
const;
40 float get_height()
const;
43 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
44 NxCapsuleShapeDesc _desc;
47 #include "physxCapsuleShapeDesc.I"
49 #endif // PHYSXCAPSULESHAPEDESC_H
Descriptor class for PhysxCapsuleShape.
Abstract base class for shape descriptors.