| 87 | } |
| 88 | |
| 89 | void AmbientSoundObject::Moved(Object::MoveType type) { |
| 90 | Object::Moved(type); |
| 91 | if (type & kTranslate && scenegraph_) { |
| 92 | Engine::Instance()->GetSound()->SetPosition(sound_handle, GetTranslation()); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | bool AmbientSoundObject::InCameraRange() { |
| 97 | const float _threshold_distance = 10.0f; |
nothing calls this directly
no test coverage detected