diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-13 16:52:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-13 16:52:05 -0700 |
commit | 34f6c172da1dd2bd51e80a06007efd75581c38a3 (patch) | |
tree | 515cfd390c23c545c408d89db984edefbae324b3 /src | |
parent | a9539d4e707d9b34388a65b22b85a1d6d723c130 (diff) |
uniform1f
Diffstat (limited to 'src')
-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)); }; |