mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +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
|
||||
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) {
|
||||
// produce an oriented angle about the y-axis
|
||||
|
|
Loading…
Reference in a new issue