diff options
Diffstat (limited to 'src/webGLWorker.js')
-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 fc133c0d..ff4d94f9 100644 --- a/src/webGLWorker.js +++ b/src/webGLWorker.js @@ -660,6 +660,9 @@ function WebGLWorker() { this.uniformMatrix4fv = function(location, transpose, data) { commandBuffer.push('uniformMatrix4fv', 3, location.id, transpose, new Float32Array(data)); }; + this.vertexAttrib4fv = function(index, values) { + commandBuffer.push('vertexAttrib4fv', 2, index, new Float32Array(values)); + }; this.createBuffer = function() { var id = nextId++; commandBuffer.push('createBuffer', -1, id); |