| 481 | } |
| 482 | |
| 483 | void VPath::getRenderMountTransform( F32 pDelta, S32 pIndex, const MatrixF &pInTransform, MatrixF *pTransform ) |
| 484 | { |
| 485 | // Fetch the Scene Object. |
| 486 | VPathObject *pathObject = NULL; |
| 487 | for ( SceneObject *itr = getMountList(); itr != NULL; itr = itr->getMountLink() ) |
| 488 | { |
| 489 | if ( itr->getMountNode() == pIndex ) |
| 490 | { |
| 491 | pathObject = getPathObject( itr ); |
| 492 | break; |
| 493 | } |
| 494 | } |
| 495 | |
| 496 | if ( !pathObject ) |
| 497 | { |
| 498 | // Reset Transform. |
| 499 | *pTransform = pInTransform; |
| 500 | // Sanity! |
| 501 | return; |
| 502 | } |
| 503 | |
| 504 | // Apply Transform. |
| 505 | *pTransform = pathObject->getRenderTransform( pDelta ); |
| 506 | } |
| 507 | |
| 508 | VectorF VPath::getMountVelocity( const U32 &pIndex ) |
| 509 | { |
nothing calls this directly
no test coverage detected