| 232 | } |
| 233 | |
| 234 | PxTransform PxsCCDShape::getAbsPose(const PxsRigidBody* atom) const |
| 235 | { |
| 236 | // PT: TODO: refactor with ShapeSim version (SIMD) - or with redundant getShapeAbsPose() above in this same file! |
| 237 | if(atom) |
| 238 | return atom->getPose() * atom->getCore().getBody2Actor().getInverse() * mShapeCore->transform; |
| 239 | else |
| 240 | return mRigidCore->body2World * mShapeCore->transform; |
| 241 | } |
| 242 | |
| 243 | PxTransform PxsCCDShape::getLastCCDAbsPose(const PxsRigidBody* atom) const |
| 244 | { |
no test coverage detected