aboutsummaryrefslogtreecommitdiff
path: root/src/library_openal.js
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2013-03-19 19:54:12 -0400
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2013-03-19 19:54:12 -0400
commitc6bd6f94852f3b0e79ed0b4f9849cc8481861c96 (patch)
tree00ce8379d770d1de95e62a74d1307c92b2af96fc /src/library_openal.js
parent104f25c2e591d9b88752bbd9492c0ff8c74d997b (diff)
Fix a typo
Diffstat (limited to 'src/library_openal.js')
-rw-r--r--src/library_openal.js24
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: