fill the helper actor shape
| 65 | |
| 66 | // fill the helper actor shape |
| 67 | static PX_FORCE_INLINE void populate(const PrunerPayload& payload, ActorShape& as) |
| 68 | { |
| 69 | Scb::Shape* localShape = reinterpret_cast<Scb::Shape*>(payload.data[0]); |
| 70 | Scb::Actor* localActor = reinterpret_cast<Scb::Actor*>(payload.data[1]); |
| 71 | |
| 72 | as.scbShape = localShape; |
| 73 | as.scbActor = localActor; |
| 74 | |
| 75 | as.actor = static_cast<PxRigidActor*>(static_cast<const Sc::RigidCore&>(localActor->getActorCore()).getPxActor()); |
| 76 | as.shape = localShape->getScShape().getPxShape(); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /////////////////////////////////////////////////////////////////////////////// |
no test coverage detected