| 307 | } |
| 308 | |
| 309 | bool NpConstraint::isValid() const |
| 310 | { |
| 311 | NP_READ_CHECK(getNpScene()); |
| 312 | bool isValid0 = mActor0 && !mActor0->is<PxRigidStatic>(); |
| 313 | bool isValid1 = mActor1 && !mActor1->is<PxRigidStatic>(); |
| 314 | return isValid0 || isValid1; |
| 315 | } |
| 316 | |
| 317 | void* NpConstraint::getExternalReference(PxU32& typeID) |
| 318 | { |
no test coverage detected