Miles Sound System SDK 7.2a

AIL_sample_3D_orientation

The function AIL_sample_3D_orientation retrieves the orientation of a 3D sample.

void AIL_sample_3D_orientation(
  HSAMPLE S,
  F32 *X_face,
  F32 *Y_face,
  F32 *Z_face,
  F32 *X_up,
  F32 *Y_up,
  F32 *Z_up
);

In Parameters

S
specifies the 3D sample.

Out Parameters

X_face
returns the X coordinate of the facing vector.
Y_face
returns the Y coordinate of the facing vector.
Z_face
returns the Z coordinate of the facing vector.
X_up
returns the X coordinate of the upward vector.
Y_up
returns the Y coordinate of the upward vector.
Z_up
returns the Z coordinate of the upward vector.

Discussion

You can pass NULL for any value that you're not interested in.


Group: Digital Audio Services
Related Functions: AIL_set_sample_3D_orientation
Related Basic Types: F32, HSAMPLE, void
Related FAQs: What's the best way to port my older Miles application to MSS 7?

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.