mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Hook up the engine to the new logging system.
This commit is contained in:
@@ -201,7 +201,7 @@ int main(int argc, char** argv)
|
||||
ma_engine_listener_set_direction(&engine, 0, -1, 0, 0);
|
||||
//ma_sound_set_velocity(&sound, step*1000, 0, 0);
|
||||
|
||||
ma_engine_listener_set_direction(&engine, 0, (float)ma_cos(angle), 0, (float)ma_sin(angle));
|
||||
ma_engine_listener_set_direction(&engine, 0, (float)ma_cosd(angle), 0, (float)ma_sind(angle));
|
||||
angle += stepAngle;
|
||||
|
||||
ma_sleep(1);
|
||||
|
||||
Reference in New Issue
Block a user