| 1482 | } |
| 1483 | |
| 1484 | void ShapeBase::MountedImage::updateSoundSources( const MatrixF &renderTransform ) |
| 1485 | { |
| 1486 | // Update all the sounds removing any ones that have stopped. |
| 1487 | for ( U32 i=0; i < mSoundSources.size(); ) |
| 1488 | { |
| 1489 | SFXSource *source = mSoundSources[i]; |
| 1490 | |
| 1491 | if ( source->isStopped() ) |
| 1492 | { |
| 1493 | SFX_DELETE( source ); |
| 1494 | mSoundSources.erase_fast( i ); |
| 1495 | continue; |
| 1496 | } |
| 1497 | |
| 1498 | source->setTransform(renderTransform); |
| 1499 | i++; |
| 1500 | } |
| 1501 | } |
| 1502 | |
| 1503 | void ShapeBase::MountedImage::updateDoAnimateAllShapes(const ShapeBase* owner) |
| 1504 | { |
no test coverage detected