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