diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2013-03-19 19:54:12 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2013-03-19 19:54:12 -0400 |
commit | c6bd6f94852f3b0e79ed0b4f9849cc8481861c96 (patch) | |
tree | 00ce8379d770d1de95e62a74d1307c92b2af96fc /src/library_openal.js | |
parent | 104f25c2e591d9b88752bbd9492c0ff8c74d997b (diff) |
Fix a typo
Diffstat (limited to 'src/library_openal.js')
-rw-r--r-- | src/library_openal.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/library_openal.js b/src/library_openal.js index 80fed9f7..379e8e05 100644 --- a/src/library_openal.js +++ b/src/library_openal.js @@ -526,26 +526,26 @@ var LibraryOpenAL = { switch (param) { case 0x1004 /* AL_POSITION */: AL.currentContext.ctx.listener.setPosition( - {{{ makeGetValue('value', '0', 'float') }}}, - {{{ makeGetValue('value', '1', 'float') }}}, - {{{ makeGetValue('value', '2', 'float') }}} + {{{ makeGetValue('values', '0', 'float') }}}, + {{{ makeGetValue('values', '1', 'float') }}}, + {{{ makeGetValue('values', '2', 'float') }}} ); break; case 0x1006 /* AL_VELOCITY */: AL.currentContext.ctx.listener.setVelocity( - {{{ makeGetValue('value', '0', 'float') }}}, - {{{ makeGetValue('value', '1', 'float') }}}, - {{{ makeGetValue('value', '2', 'float') }}} + {{{ makeGetValue('values', '0', 'float') }}}, + {{{ makeGetValue('values', '1', 'float') }}}, + {{{ makeGetValue('values', '2', 'float') }}} ); break; case 0x100F /* AL_ORIENTATION */: AL.currentContext.ctx.listener.setOrientation( - {{{ makeGetValue('value', '0', 'float') }}}, - {{{ makeGetValue('value', '1', 'float') }}}, - {{{ makeGetValue('value', '2', 'float') }}}, - {{{ makeGetValue('value', '3', 'float') }}}, - {{{ makeGetValue('value', '4', 'float') }}}, - {{{ makeGetValue('value', '5', 'float') }}} + {{{ makeGetValue('values', '0', 'float') }}}, + {{{ makeGetValue('values', '1', 'float') }}}, + {{{ makeGetValue('values', '2', 'float') }}}, + {{{ makeGetValue('values', '3', 'float') }}}, + {{{ makeGetValue('values', '4', 'float') }}}, + {{{ makeGetValue('values', '5', 'float') }}} ); break; default: |