diff options
-rw-r--r-- | src/webGLWorker.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js index 686be598..3154f904 100644 --- a/src/webGLWorker.js +++ b/src/webGLWorker.js @@ -622,6 +622,9 @@ function WebGLWorker() { this.uniform1i = function(location, data) { commandBuffer.push('uniform1i', 2, location.id, data); }; + this.uniform1f = function(location, data) { + commandBuffer.push('uniform1f', 2, location.id, data); + }; this.uniform4fv = function(location, data) { commandBuffer.push('uniform4fv', 2, location.id, new Float32Array(data)); }; |