| 557 | } |
| 558 | |
| 559 | void TSShapeInstance::handleMaskedPositionNode(TSThread * th, S32 nodeIndex, S32 offset) |
| 560 | { |
| 561 | const Point3F & p1 = mShape->getTranslation(*th->getSequence(),th->keyNum1,offset); |
| 562 | const Point3F & p2 = mShape->getTranslation(*th->getSequence(),th->keyNum2,offset); |
| 563 | Point3F p; |
| 564 | TSTransform::interpolate(p1,p2,th->keyPos,&p); |
| 565 | |
| 566 | if (!mMaskPosXNodes.test(nodeIndex)) |
| 567 | smNodeCurrentTranslations[nodeIndex].x = p.x; |
| 568 | |
| 569 | if (!mMaskPosYNodes.test(nodeIndex)) |
| 570 | smNodeCurrentTranslations[nodeIndex].y = p.y; |
| 571 | |
| 572 | if (!mMaskPosZNodes.test(nodeIndex)) |
| 573 | smNodeCurrentTranslations[nodeIndex].z = p.z; |
| 574 | } |
| 575 | |
| 576 | void TSShapeInstance::handleBlendSequence(TSThread * thread, S32 a, S32 b) |
| 577 | { |
nothing calls this directly
no test coverage detected