Sign in to follow this  
jake_Ghost

FSOUND_3D_Listener_SetAttributes

Recommended Posts

How do I get all the values that I need for this function? I am using openGL
void F_API FSOUND_3D_Listener_SetAttributes(
const F_FLOAT_API *pos,
const F_FLOAT_API *vel,
F_FLOAT_API fx,
F_FLOAT_API fy,
F_FLOAT_API fz,
F_FLOAT_API tx,
F_FLOAT_API ty,
F_FLOAT_API tz
);


Parameters
pos Pointer to a position vector (xyz float triplet), of the listener in world space, measured in distance units.
This can be NULL to ignore it.
 
vel Pointer to a velocity vector (xyz float triplet), of the listener measured in distance units PER SECOND.
This can be NULL to ignore it.
 
fx x component of a FORWARD unit length orientation vector
 
fy y component of a FORWARD unit length orientation vector
 
fz z component of a FORWARD unit length orientation vector
 
tx x component of a TOP or upwards facing unit length orientation vector
 
ty y component of a TOP or upwards facing unit length orientation vector
 
tz 

From what I know, i can use 
double mMatrix[16];
								glGetDoublev(GL_MODELVIEW_MATRIX,mMatrix);

but I dont know how to get teh values out of that


Thanks Jake [Edited by - jake_Ghost on June 3, 2005 11:43:38 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this