diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 19:13:27 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 19:13:27 -0800 |
commit | c268ebe0b939f39743e3542cad1afc2b590ccae2 (patch) | |
tree | 0de199e06f66c18125a7c2aaf3c39493b62b8f0c /src/library_gl.js | |
parent | dd61bf0a31c9b4367fab0c8868b64c4377f3f16f (diff) | |
parent | 8e2c759b03266bb60cac686e3e84269714d5310e (diff) |
Merge pull request #887 from MichaelRiss/glVertex2i
Add glVertex3i and glVertex2i calls
Diffstat (limited to 'src/library_gl.js')
-rw-r--r-- | src/library_gl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index d165ede2..b0bf9650 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -2383,8 +2383,10 @@ var LibraryGL = { glVertex2fv: function(p) { _glVertex3f({{{ makeGetValue('p', '0', 'float') }}}, {{{ makeGetValue('p', '4', 'float') }}}, 0); }, + + glVertex3i: 'glVertex3f', - glVertex2i: function() { throw 'glVertex2i: TODO' }, + glVertex2i: 'glVertex3f', glTexCoord2i: function(u, v) { #if ASSERTIONS |