diff --git a/src/main/java/com/threerings/openal/Listener.java b/src/main/java/com/threerings/openal/Listener.java index d2983dde..57ed113b 100644 --- a/src/main/java/com/threerings/openal/Listener.java +++ b/src/main/java/com/threerings/openal/Listener.java @@ -41,6 +41,30 @@ public class Listener } } + /** + * Returns the x component of the listener's position. + */ + public float getPositionX () + { + return _px; + } + + /** + * Returns the y component of the listener's position. + */ + public float getPositionY () + { + return _py; + } + + /** + * Returns the z component of the listener's position. + */ + public float getPositionZ () + { + return _pz; + } + /** * Sets the velocity of the listener. */