mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:17:25 +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 FULL_POWER = 1.0f;
|
||||||
const float SQUARE_ROOT_OF_TWO_OVER_TWO = 0.71f;
|
const float SQUARE_ROOT_OF_TWO_OVER_TWO = 0.71f;
|
||||||
const float HALF_POWER = SQUARE_ROOT_OF_TWO_OVER_TWO;
|
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 ONE_OVER_TWO_PI = 1.0f / TWO_PI;
|
||||||
const float FILTER_CUTOFF_FREQUENCY_HZ = 1000.0f;
|
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_OVER_TWO)) + HALF_POWER) :
|
||||||
((-1.0 * ONE_OVER_TWO_PI * (bearingRelativeAngleToSource - PI)) + HALF_POWER);
|
((-1.0 * ONE_OVER_TWO_PI * (bearingRelativeAngleToSource - PI)) + HALF_POWER);
|
||||||
|
|
||||||
float distanceBetween = glm::length(relativePosition);
|
|
||||||
#if 0
|
#if 0
|
||||||
|
float distanceBetween = glm::length(relativePosition);
|
||||||
qDebug() << "avatar="
|
qDebug() << "avatar="
|
||||||
<< listeningNodeStream
|
<< listeningNodeStream
|
||||||
<< "gainL="
|
<< "gainL="
|
||||||
|
|
Loading…
Reference in a new issue