diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 92c9c956..1c96189b 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -45,7 +45,7 @@ typedef union aluVector { alignas(16) ALfloat v[4]; } aluVector; -inline void aluVectorSet(aluVector *restrict vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w) +inline void aluVectorSet(aluVector *vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w) { vector->v[0] = x; vector->v[1] = y; @@ -58,7 +58,7 @@ typedef union aluMatrix { alignas(16) ALfloat m[4][4]; } aluMatrix; -inline void aluMatrixSetRow(aluMatrix *restrict matrix, ALuint row, +inline void aluMatrixSetRow(aluMatrix *matrix, ALuint row, ALfloat m0, ALfloat m1, ALfloat m2, ALfloat m3) { matrix->m[row][0] = m0; @@ -67,10 +67,10 @@ inline void aluMatrixSetRow(aluMatrix *restrict matrix, ALuint row, matrix->m[row][3] = m3; } -inline void aluMatrixSet(aluMatrix *restrict matrix, ALfloat m00, ALfloat m01, ALfloat m02, ALfloat m03, - ALfloat m10, ALfloat m11, ALfloat m12, ALfloat m13, - ALfloat m20, ALfloat m21, ALfloat m22, ALfloat m23, - ALfloat m30, ALfloat m31, ALfloat m32, ALfloat m33) +inline void aluMatrixSet(aluMatrix *matrix, ALfloat m00, ALfloat m01, ALfloat m02, ALfloat m03, + ALfloat m10, ALfloat m11, ALfloat m12, ALfloat m13, + ALfloat m20, ALfloat m21, ALfloat m22, ALfloat m23, + ALfloat m30, ALfloat m31, ALfloat m32, ALfloat m33) { aluMatrixSetRow(matrix, 0, m00, m01, m02, m03); aluMatrixSetRow(matrix, 1, m10, m11, m12, m13); @@ -270,4 +270,3 @@ extern ALfloat ZScale; #endif #endif - |