--------------------------------------------------------------------------------
| 478 | |
| 479 | // -------------------------------------------------------------------------------- |
| 480 | float EveTransform::GetRangeDuration( const std::string& name, const std::string& rangeName ) const |
| 481 | { |
| 482 | float maxDuration = 0.f; |
| 483 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 484 | { |
| 485 | if( ( *it )->GetName() == name ) |
| 486 | { |
| 487 | maxDuration = std::max( maxDuration, ( *it )->GetRangeDuration( rangeName.c_str() ) ); |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | return maxDuration; |
| 492 | } |
| 493 | |
| 494 | void EveTransform::GetPickingBatches( ITriRenderBatchAccumulator* batches, Tr2PickTypes pickTypes, const Tr2PerObjectData* perObjectData ) |
| 495 | { |