aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-11-06 10:27:28 -0800
committerChris Robinson <[email protected]>2015-11-06 10:27:28 -0800
commitde74498cd97c18d0c6c4001079b95da0f404ce8f (patch)
treeffc04152b0b8bfe8161928c7fb8d921321f9f063 /Alc/hrtf.c
parent858230f4528ad2f418f97414e3a8be46865c367c (diff)
Use more accurate floating point literals
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 786fd014..71dd9d79 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -372,7 +372,7 @@ void GetBFormatHrtfCoeffs(const struct Hrtf *Hrtf, const ALuint num_chans, ALflo
y = sinf(-az) * cosf(elev);
z = sinf(elev);
- ambi_coeffs[0] = 1.4142f;
+ ambi_coeffs[0] = 1.414213562f;
ambi_coeffs[1] = x;
ambi_coeffs[2] = y;
ambi_coeffs[3] = z;