diff options
author | Chris Robinson <[email protected]> | 2011-07-04 22:36:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-04 22:36:51 -0700 |
commit | 6020b964c7c2007724fca07d25a21ac5115cb8cf (patch) | |
tree | 7db035fa82c89a6093c5744dfe4711b836eafea0 /Alc/hrtf.c | |
parent | b2d5367830c7bc60e3593f3161eb1f65659a07ba (diff) |
Fix some formatting
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ static struct HRTF { // Calculate the elevation indices given the polar elevation in radians. // This will return two indices between 0 and (evCount - 1) and an // interpolation factor between 0.0 and 1.0. -static void CalcEvIndices (ALfloat ev, ALuint evidx [2], ALfloat * evmu) +static void CalcEvIndices(ALfloat ev, ALuint *evidx, ALfloat *evmu) { ev = (M_PI/2.0f + ev) * (evCount-1) / M_PI; evidx[0] = (ALuint)ev; @@ -53,7 +53,7 @@ static void CalcEvIndices (ALfloat ev, ALuint evidx [2], ALfloat * evmu) // Calculate the azimuth indices given the polar azimuth in radians. This // will return two indices between 0 and (azCount [ei] - 1) and an // interpolation factor between 0.0 and 1.0. -static void CalcAzIndices (ALuint evidx, ALfloat az, ALuint azidx [2], ALfloat * azmu) +static void CalcAzIndices(ALuint evidx, ALfloat az, ALuint *azidx, ALfloat *azmu) { az = (M_PI*2.0f + az) * azCount[evidx] / (M_PI*2.0f); azidx[0] = (ALuint)az % azCount[evidx]; |