14#ifndef PHYSXBOXSHAPEDESC_H
15#define PHYSXBOXSHAPEDESC_H
26class EXPCL_PANDAPHYSX PhysxBoxShapeDesc :
public PhysxShapeDesc {
29 INLINE PhysxBoxShapeDesc();
30 INLINE ~PhysxBoxShapeDesc();
40 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
void set_dimensions(const LVector3f &dimensions)
Sets the dimensions of the box.
bool is_valid() const
Returns true if the descriptor is valid.
void set_to_default()
(re)sets the structure to the default.
LVector3f get_dimensions() const
Returns the dimensions of the box.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.