Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
SoundSprocket Functions / Creating and Managing Listeners


SSpListener_GetUpVector

You can use the SSpListener_GetUpVector function to get the up vector of a listener.

OSStatus SSpListener_GetUpVector (
SSpListenerReference inListenerReference,
TQ3Vector3D *outUpVector);
inListenerReference
A listener reference.
outUpVector
On exit, the untransformed up vector of the listener.
function result
A result code.
DESCRIPTION
The SSpListener_GetUpVector function returns, in the outUpVector parameter, the untransformed up vector of the listener specified by the inListenerReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996