<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
#include <revolution.h>
#include <revolution/axart.h>
void AXARTSet3DDopplerScale(f32 scale);
| scale | Closing speed scale. |
None.
AXARTSet3DDopplerScale() sets an arbitrary closing speed scale for the Doppler pitch of 3D sounds. The AXART Library finds the pitch for the Doppler Effect using the following formula when a sound source approaches the camera. The scale set by this function is assigned to scale in the formula, while the AXART_3D articulator member closingSpeed is assigned to closingSpeed. Calculation results are similarly saved in the AXART_3D articulator member pitch.
pitch = closingSpeed ÷ scale
AXARTSet3DDistanceScale
AXART_3D
2006/03/01 Initial version.
2006/09/01 Added arguments.
CONFIDENTIAL