]> git.tdb.fi Git - libs/al.git/blobdiff - source/listener.h
Fix a typo in multiple inclusion guard
[libs/al.git] / source / listener.h
index 98e16388236c01e3e5a43138e465b8e0fe150b94..9cc5b7a3124f22fa2d54b4b7368c7e9364978feb 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef MSP_AL_LIStENER_H_
+#ifndef MSP_AL_LISTENER_H_
 #define MSP_AL_LISTENER_H_
 
 #include <AL/al.h>
@@ -12,14 +12,16 @@ Represents the listener in the 3D environment.  This class is a singleton.
 class Listener
 {
 private:
-       Listener() { }
+       float orientation[6];
+
+       Listener();
 public:
        static Listener &instance();
 
-       void attribute(ALenum, float);
-       void attribute(ALenum, float, float, float);
-       void attribute(ALenum, const float *);
        void set_position(float, float, float);
+       void set_forward_direction(float, float, float);
+       void set_up_direction(float, float, float);
+       void set_velocity(float, float, float);
        void set_gain(float);
 };