mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Update comment
This commit is contained in:
parent
2c4d6b0ab7
commit
13221c47f4
@ -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]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user