14#ifndef PHYSXPLANESHAPEDESC_H
15#define PHYSXPLANESHAPEDESC_H
27class EXPCL_PANDAPHYSX PhysxPlaneShapeDesc :
public PhysxShapeDesc {
30 INLINE PhysxPlaneShapeDesc();
31 INLINE ~PhysxPlaneShapeDesc();
36 void set_plane(
const LVector3f &normal,
float d);
39 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
40 NxPlaneShapeDesc _desc;
void set_to_default()
(re)sets the structure to the default.
bool is_valid() const
Returns true if the descriptor is valid.
void set_plane(const LVector3f &normal, float d)
Sets the parameters of the plane equation.
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.