From 6dbd488d13d455f4538595cb5b30788048a6d20a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 20 May 2019 21:16:13 -0700 Subject: Avoid unnecessary use of CalcAngleCoeffs --- Alc/alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/alu.cpp') diff --git a/Alc/alu.cpp b/Alc/alu.cpp index dd99a9f5..d1e0772a 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -754,7 +754,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo * input channels of the source sends. */ ALfloat coeffs[MAX_AMBI_CHANNELS]; - CalcAngleCoeffs(az, ev, Spread, coeffs); + CalcDirectionCoeffs({xpos, ypos, zpos}, Spread, coeffs); for(ALsizei i{0};i < NumSends;i++) { -- cgit v1.2.3