mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
removed unused variables
This commit is contained in:
parent
be4ec8920d
commit
2f03f0fb0d
1 changed files with 1 additions and 2 deletions
|
@ -327,7 +327,6 @@ int AudioMixer::addStreamToMixForListeningNodeWithStream(PositionalAudioStream*
|
|||
const float FULL_POWER = 1.0f;
|
||||
const float SQUARE_ROOT_OF_TWO_OVER_TWO = 0.71f;
|
||||
const float HALF_POWER = SQUARE_ROOT_OF_TWO_OVER_TWO;
|
||||
const float QUARTER_POWER = HALF_POWER * HALF_POWER;
|
||||
|
||||
const float ONE_OVER_TWO_PI = 1.0f / TWO_PI;
|
||||
const float FILTER_CUTOFF_FREQUENCY_HZ = 1000.0f;
|
||||
|
@ -344,8 +343,8 @@ int AudioMixer::addStreamToMixForListeningNodeWithStream(PositionalAudioStream*
|
|||
((-1.0 * ONE_OVER_TWO_PI * (bearingRelativeAngleToSource + PI_OVER_TWO)) + HALF_POWER) :
|
||||
((-1.0 * ONE_OVER_TWO_PI * (bearingRelativeAngleToSource - PI)) + HALF_POWER);
|
||||
|
||||
float distanceBetween = glm::length(relativePosition);
|
||||
#if 0
|
||||
float distanceBetween = glm::length(relativePosition);
|
||||
qDebug() << "avatar="
|
||||
<< listeningNodeStream
|
||||
<< "gainL="
|
||||
|
|
Loading…
Reference in a new issue