diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | src/library_gl.js | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -44,4 +44,4 @@ a license to everyone to use it as detailed in LICENSE.) * Dominic Wong <dom@slowbunyip.org> * Alan Kligman <alan.kligman@gmail.com> (copyright owned by Mozilla Foundation) * Anthony Liot <wolfviking0@yahoo.com> - +* Michael Riss <Michael.Riss@gmx.de> diff --git a/src/library_gl.js b/src/library_gl.js index 267a6185..2a6ec92f 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -2462,6 +2462,10 @@ var LibraryGL = { {{{ makeSetValue('objZ', '0', 'result[2]', 'double') }}}; return 1 /* GL_TRUE */; + }, + + gluOrtho2D: function(left, right, bottom, top) { + _glOrtho(left, right, bottom, top, -1, 1); } }; |