14#ifndef PHYSXPLANESHAPE_H
15#define PHYSXPLANESHAPE_H
45class EXPCL_PANDAPHYSX PhysxPlaneShape :
public PhysxShape {
48 INLINE PhysxPlaneShape();
49 INLINE ~PhysxPlaneShape();
53 void set_plane(
const LVector3f &normal,
float d);
56 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
58 void link(NxShape *shapePtr);
68 static void init_type() {
69 PhysxShape::init_type();
71 PhysxShape::get_class_type());
74 return get_class_type();
78 return get_class_type();
Descriptor class for PhysxPlaneShape.
void save_to_desc(PhysxPlaneShapeDesc &shapeDesc) const
Saves the state of the shape object to a descriptor.
void set_plane(const LVector3f &normal, float d)
Sets the plane equation.
TypeHandle is the identifier used to differentiate C++ class types.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...