Miles Sound System SDK 7.2a

AIL_update_sample_3D_position

The function AIL_update_sample_3D_position updates a 3D sample's position based on its previously-set velocity and the specified delta time in milliseconds.

void AIL_update_sample_3D_position(
  HSAMPLE S,
  F32 dt_milliseconds
);

In Parameters

S
specifies the 3D sample.
dt_milliseconds
indicates the amount of time that has passed in milliseconds.

Discussion

This function simply takes the sample's current position and moves it based on the velocity vector and specified millisecond count.


Group: Digital Audio Services
Related Functions: AIL_set_sample_3D_position, AIL_set_sample_3D_velocity, AIL_set_sample_3D_velocity_vector
Related Basic Types: F32, HSAMPLE, void

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