23 void PhysxPlaneShape::
24 link(NxShape *shapePtr) {
26 _ptr = shapePtr->isPlane();
27 _ptr->userData =
this;
33 actor->_shapes.add(
this);
39 void PhysxPlaneShape::
42 _ptr->userData =
nullptr;
43 _error_type = ET_released;
46 actor->_shapes.remove(
this);
55 nassertv(_error_type == ET_ok);
56 _ptr->saveToDesc(shapeDesc._desc);
65 set_plane(
const LVector3f &normal,
float d) {
67 nassertv(_error_type == ET_ok);