| 559 | } |
| 560 | |
| 561 | void ForestWindEmitter::updateMountPosition() |
| 562 | { |
| 563 | AssertFatal( isClientObject(), "ForestWindEmitter::updateMountPosition - This should only happen on the client!" ); |
| 564 | |
| 565 | if ( !mHasMount || !mMountObject ) |
| 566 | return; |
| 567 | |
| 568 | MatrixF mat( true ); |
| 569 | mat.setPosition( mMountObject->getPosition() ); |
| 570 | Parent::setTransform( mat ); |
| 571 | } |
| 572 | |
| 573 | void ForestWindEmitter::onDeleteNotify(SimObject *object) |
| 574 | { |
no test coverage detected