| 865 | } |
| 866 | |
| 867 | static void setupLinearLimit(joint::ConstraintHelper& ch, const PxJointLinearLimitPair& limit, const float origin, const PxVec3& axis) |
| 868 | { |
| 869 | ch.linearLimit(axis, origin, limit.upper, limit); |
| 870 | ch.linearLimit(-axis, -origin, -limit.lower, limit); |
| 871 | } |
| 872 | |
| 873 | static PxU32 D6JointSolverPrep(Px1DConstraint* constraints, |
| 874 | PxVec3& body0WorldOffset, |
no test coverage detected