14#ifndef PHYSXSPHERESHAPEDESC_H
15#define PHYSXSPHERESHAPEDESC_H
25class EXPCL_PANDAPHYSX PhysxSphereShapeDesc :
public PhysxShapeDesc {
28 INLINE PhysxSphereShapeDesc();
29 INLINE ~PhysxSphereShapeDesc();
39 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
40 NxSphereShapeDesc _desc;
float get_radius() const
Radius of shape.
void set_to_default()
(re)sets the structure to the default.
bool is_valid() const
Returns true if the descriptor is valid.
void set_radius(float radius)
Radius of shape.
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.