Commit df4baf8d authored by David Reid's avatar David Reid

Fix some errors.

parent 21237008
...@@ -67,7 +67,7 @@ int main(int argc, char** argv) ...@@ -67,7 +67,7 @@ int main(int argc, char** argv)
/* Rotate the listener on the spot to create an orbiting effect. */ /* Rotate the listener on the spot to create an orbiting effect. */
for (;;) { for (;;) {
listenerAngle += 0.01f; listenerAngle += 0.01f;
ma_engine_listener_set_direction(&engine, 0, sinf(listenerAngle), 0, cosf(listenerAngle)); ma_engine_listener_set_direction(&engine, 0, (float)sin(listenerAngle), 0, (float)cos(listenerAngle));
ma_sleep(1); ma_sleep(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment