| 671 | } |
| 672 | |
| 673 | void CSoundRender_Core::object_relcase(CObject* obj) |
| 674 | { |
| 675 | if (obj) |
| 676 | { |
| 677 | for (u32 eit = 0; eit < s_emitters.size(); eit++) |
| 678 | { |
| 679 | if (s_emitters[eit]) |
| 680 | if (s_emitters[eit]->owner_data) |
| 681 | if (obj == s_emitters[eit]->owner_data->g_object) |
| 682 | s_emitters[eit]->owner_data->g_object = 0; |
| 683 | } |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | XRSOUND_API float SoundRenderGetOcculution(Fvector& P, float R, Fvector* occ) { return SoundRender->get_occlusion(P, R, occ); } |
no test coverage detected