diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-10-07 20:37:07 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-10-07 20:37:07 +0300 |
commit | 607f34699301af95610ce4a0d72750e61b778a0e (patch) | |
tree | 49415fea3796670b62779105aa0e18a97a5f682d /indra/newview/llaudiosourcevo.h | |
parent | 06e316b0ad0b79f048852da14ff64e9213a7db31 (diff) |
SL-9116 Implemented sound cut-off for llSetSoundRadius
Diffstat (limited to 'indra/newview/llaudiosourcevo.h')
-rw-r--r-- | indra/newview/llaudiosourcevo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llaudiosourcevo.h b/indra/newview/llaudiosourcevo.h index f1d8ef4528..672a07f7d3 100644 --- a/indra/newview/llaudiosourcevo.h +++ b/indra/newview/llaudiosourcevo.h @@ -41,7 +41,11 @@ public: /*virtual*/ void update(); /*virtual*/ void setGain(const F32 gain); + void checkCutOffRadius(); + private: + LLVector3d getPosGlobal() const; + bool isInCutOffRadius(LLVector3d pos_global, const F32 cutoff) const; void updateMute(); private: |