diff options
author | Chris Robinson <[email protected]> | 2016-09-05 02:02:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-09-05 02:02:14 -0700 |
commit | 8a64f071213f387c4675012ec1df51b9295564b3 (patch) | |
tree | 8a892e91b2748d6e0bc4e108b14384f8d897e4b6 /OpenAL32 | |
parent | 42452b7f796a317a8d1159d16c5b84f8defd5e80 (diff) |
Use a predefined identity matrix
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 9a92dc50..d236c58b 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -79,6 +79,7 @@ inline void aluVectorSet(aluVector *vector, ALfloat x, ALfloat y, ALfloat z, ALf typedef union aluMatrixf { alignas(16) ALfloat m[4][4]; } aluMatrixf; +const aluMatrixf IdentityMatrixf; inline void aluMatrixfSetRow(aluMatrixf *matrix, ALuint row, ALfloat m0, ALfloat m1, ALfloat m2, ALfloat m3) |