Add explicit matrix and vector types to operate with
[openal-soft.git] / OpenAL32 / Include / alListener.h
blobd7e495fee288b49e5225e701d2b6252cea43e815
1 #ifndef _AL_LISTENER_H_
2 #define _AL_LISTENER_H_
4 #include "alMain.h"
5 #include "alu.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 typedef struct ALlistener {
12 volatile ALfloat Position[3];
13 volatile ALfloat Velocity[3];
14 volatile ALfloat Forward[3];
15 volatile ALfloat Up[3];
16 volatile ALfloat Gain;
17 volatile ALfloat MetersPerUnit;
19 struct {
20 aluMatrix Matrix;
21 aluVector Velocity;
22 } Params;
23 } ALlistener;
25 #ifdef __cplusplus
27 #endif
29 #endif