gl-contour2d
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -20,3 +20,2 @@ 'use strict' | ||
fillShader, | ||
pickShader, | ||
positionBuffer, | ||
@@ -30,3 +29,2 @@ colorBuffer, | ||
this.fillShader = fillShader | ||
this.pickShader = pickShader | ||
this.positionBuffer = positionBuffer | ||
@@ -38,7 +36,4 @@ this.colorBuffer = colorBuffer | ||
this.fillVerts = 0 | ||
this.xData = [] | ||
this.yData = [] | ||
this.shape = [0, 0] | ||
this.bounds = [Infinity, Infinity, -Infinity, -Infinity] | ||
this.pickOffset = 0 | ||
this.numVertices = 0 | ||
@@ -202,5 +197,2 @@ this.lineWidth = 1 | ||
this.xData = x | ||
this.yData = y | ||
this.lineWidth = options.lineWidth || 1 | ||
@@ -410,3 +402,2 @@ | ||
var shader = createShader(gl, shaders.vertex, shaders.fragment) | ||
var pickShader = createShader(gl, shaders.pickVertex, shaders.pickFragment) | ||
var fillShader = createShader(gl, shaders.fillVertex, shaders.fragment) | ||
@@ -425,3 +416,2 @@ | ||
fillShader, | ||
pickShader, | ||
positionBuffer, | ||
@@ -428,0 +418,0 @@ colorBuffer, |
@@ -8,5 +8,3 @@ 'use strict' | ||
vertex: glslify('./shaders/vertex.glsl'), | ||
pickFragment: glslify('./shaders/pick-fragment.glsl'), | ||
pickVertex: glslify('./shaders/pick-vertex.glsl'), | ||
fillVertex: glslify('./shaders/fill-vertex.glsl') | ||
} |
{ | ||
"name": "gl-contour2d", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "2D contour plots", | ||
@@ -5,0 +5,0 @@ "main": "contour.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20145
11
512
1