mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +02:00
specify float instead of implicitly converted double
This commit is contained in:
parent
1a7738353a
commit
a8841b475f
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
|
// project the rotated source position vector onto the XZ plane
|
||||||
rotatedSourcePosition.y = 0.0f;
|
rotatedSourcePosition.y = 0.0f;
|
||||||
|
|
||||||
const float SOURCE_DISTANCE_THRESHOLD = 1e-12;
|
static const float SOURCE_DISTANCE_THRESHOLD = 1e-12f;
|
||||||
|
|
||||||
if (glm::length2(rotatedSourcePosition) > SOURCE_DISTANCE_THRESHOLD) {
|
if (glm::length2(rotatedSourcePosition) > SOURCE_DISTANCE_THRESHOLD) {
|
||||||
// produce an oriented angle about the y-axis
|
// produce an oriented angle about the y-axis
|
||||||
|
|
Loading…
Reference in a new issue