Skip to content

Commit

Permalink
Merge pull request #136 from burdockcascade/fix_audio_orientation
Browse files Browse the repository at this point in the history
fix(Audio): Ungroup return values for getOrientation
  • Loading branch information
MikuAuahDark authored Oct 12, 2024
2 parents 359c497 + 1ca870d commit 5cc3e8b
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions modules/audio/Audio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,33 @@ return {
returns = {
{
type = 'number',
name = 'fx, fy, fz',
description = 'Forward vector of the listener orientation.',
name = 'fx',
description = 'Forward x of the listener orientation.',
},
{
type = 'number',
name = 'ux, uy, uz',
description = 'Up vector of the listener orientation.',
name = 'fy',
description = 'Forward y of the listener orientation.',
},
{
type = 'number',
name = 'fz',
description = 'Forward z of the listener orientation.',
},
{
type = 'number',
name = 'ux',
description = 'Up x of the listener orientation.',
},
{
type = 'number',
name = 'uy',
description = 'Up y of the listener orientation.',
},
{
type = 'number',
name = 'uz',
description = 'Up z of the listener orientation.',
},
},
},
Expand Down

0 comments on commit 5cc3e8b

Please sign in to comment.