| 70 | /////////////////////////////////////////////////////////////////////////////// |
| 71 | |
| 72 | PX_FORCE_INLINE static const PxActor* getPxActor(const Scb::Actor* scbActor) |
| 73 | { |
| 74 | const PxActorType::Enum type = scbActor->getActorCore().getActorCoreType(); |
| 75 | if(type == PxActorType::eRIGID_DYNAMIC) |
| 76 | return getNpRigidDynamic(static_cast<const Scb::Body*>(scbActor)); |
| 77 | else if(type == PxActorType::eRIGID_STATIC) |
| 78 | return getNpRigidStatic(static_cast<const Scb::RigidStatic*>(scbActor)); |
| 79 | else if(type == PxActorType::eARTICULATION_LINK) |
| 80 | return getNpArticulationLink(static_cast<const Scb::Body*>(scbActor)); |
| 81 | |
| 82 | return NULL; |
| 83 | } |
| 84 | |
| 85 | struct CreateOp |
| 86 | { |
no outgoing calls
no test coverage detected