aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-05-14 11:44:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-05-14 11:44:04 -0700
commite7b6664aa7c07c8c159386693d1ebba46c2ad717 (patch)
tree71c61526c34d9f83db5d9c4148782792f8a0f31a
parente43219048bb9c0de5ae2a004c4c300992d879d05 (diff)
more glColor implementations
-rw-r--r--src/library_gl.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 94a303b7..75672acc 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -1808,6 +1808,18 @@ var LibraryGL = {
_glColor4ui(r, g, b, 4294967295);
},
+ glColor3ubv__deps: ['glColor3ub'],
+ glColor3ubv: function(p) {
+ _glColor3ub({{{ makeGetValue('p', '0', 'i8') }}}, {{{ makeGetValue('p', '1', 'i8') }}}, {{{ makeGetValue('p', '2', 'i8') }}});
+ },
+ glColor3usv__deps: ['glColor3us'],
+ glColor3usv: function(p) {
+ _glColor3us({{{ makeGetValue('p', '0', 'i16') }}}, {{{ makeGetValue('p', '2', 'i16') }}}, {{{ makeGetValue('p', '4', 'i16') }}});
+ },
+ glColor3uiv__deps: ['glColor3ui'],
+ glColor3uiv: function(p) {
+ _glColor3ui({{{ makeGetValue('p', '0', 'i32') }}}, {{{ makeGetValue('p', '4', 'i32') }}}, {{{ makeGetValue('p', '8', 'i32') }}});
+ },
glColor3fv__deps: ['glColor3f'],
glColor3fv: function(p) {
_glColor3f({{{ makeGetValue('p', '0', 'float') }}}, {{{ makeGetValue('p', '4', 'float') }}}, {{{ makeGetValue('p', '8', 'float') }}});