14 #ifndef PHYSXCAPSULESHAPEDESC_H 15 #define PHYSXCAPSULESHAPEDESC_H 31 INLINE
void set_to_default();
32 INLINE
bool is_valid()
const;
34 void set_radius(
float radius);
35 void set_height(
float height);
37 float get_radius()
const;
38 float get_height()
const;
41 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
42 NxCapsuleShapeDesc _desc;
47 #endif // PHYSXCAPSULESHAPEDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for PhysxCapsuleShape.
Abstract base class for shape descriptors.