Update comment

This commit is contained in:
Christian Semmler 2024-06-08 18:00:05 -04:00
parent 2c4d6b0ab7
commit 13221c47f4

View File

@ -87,7 +87,7 @@ void LegoSoundManager::UpdateListener(
if (MxOmni::IsSound3D()) { if (MxOmni::IsSound3D()) {
// [library:audio] // [library:audio]
// miniaudio expects the right-handed OpenGL coordinate system, while LEGO Island // miniaudio expects the right-handed OpenGL coordinate system, while LEGO Island
// uses DirectX' left-handed system? Figure out the proper conversions // uses DirectX' left-handed system. The Z-axis needs to be inverted.
if (p_position != NULL) { if (p_position != NULL) {
ma_engine_listener_set_position(&m_engine, 0, p_position[0], p_position[1], -p_position[2]); ma_engine_listener_set_position(&m_engine, 0, p_position[0], p_position[1], -p_position[2]);