mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
push the length threshold to 1e-30
This commit is contained in:
parent
a8841b475f
commit
26fd0c305a
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ float AudioMixer::azimuthForSource(const PositionalAudioStream& streamToAdd, con
|
|||
// project the rotated source position vector onto the XZ plane
|
||||
rotatedSourcePosition.y = 0.0f;
|
||||
|
||||
static const float SOURCE_DISTANCE_THRESHOLD = 1e-12f;
|
||||
static const float SOURCE_DISTANCE_THRESHOLD = 1e-30f;
|
||||
|
||||
if (glm::length2(rotatedSourcePosition) > SOURCE_DISTANCE_THRESHOLD) {
|
||||
// produce an oriented angle about the y-axis
|
||||
|
|
Loading…
Reference in a new issue