#include <cafe.h> #include <cafe/axart.h> void AXARTSet3DDopplerScale(f32 scale);
|scale||Closing speed scale.|
AXARTSet3DDopplerScale function 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 saved in the same
AXART_3D articulator's member
pitch = closingSpeed ÷ scale
2013/05/08 Automated cleanup pass.
2006/09/01 Added an argument.
2006/03/01 Initial version.