gl-error3d
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "gl-error3d", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Draws error bars around points", | ||
@@ -5,0 +5,0 @@ "main": "errorbars.js", |
@@ -10,3 +10,7 @@ 'use strict' | ||
module.exports = function(gl) { | ||
return createShader(gl, vertSrc, fragSrc) | ||
return createShader(gl, vertSrc, fragSrc, null, [ | ||
{name: 'position', type: 'vec3'}, | ||
{name: 'offset', type: 'vec3'}, | ||
{name: 'color', type: 'vec4'} | ||
]) | ||
} |
11717
262