gl-line3d
Advanced tools
Comparing version 1.1.11 to 1.2.0
13
lines.js
@@ -8,3 +8,14 @@ 'use strict' | ||
var createTexture = require('gl-texture2d') | ||
var unpackFloat = require('glsl-read-float') | ||
var UINT8_VIEW = new Uint8Array(4) | ||
var FLOAT_VIEW = new Float32Array(UINT8_VIEW.buffer) | ||
// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.js | ||
function unpackFloat(x, y, z, w) { | ||
UINT8_VIEW[0] = w | ||
UINT8_VIEW[1] = z | ||
UINT8_VIEW[2] = y | ||
UINT8_VIEW[3] = x | ||
return FLOAT_VIEW[0] | ||
} | ||
var bsearch = require('binary-search-bounds') | ||
@@ -11,0 +22,0 @@ var ndarray = require('ndarray') |
{ | ||
"name": "gl-line3d", | ||
"version": "1.1.11", | ||
"version": "1.2.0", | ||
"description": "3D line plot", | ||
@@ -11,16 +11,16 @@ "main": "lines.js", | ||
"binary-search-bounds": "^2.0.4", | ||
"gl-buffer": "^2.0.8", | ||
"gl-buffer": "^2.1.2", | ||
"gl-shader": "^4.2.1", | ||
"gl-texture2d": "^2.0.2", | ||
"gl-vao": "^1.1.3", | ||
"gl-texture2d": "^2.1.0", | ||
"gl-vao": "^1.3.0", | ||
"glsl-out-of-range": "^1.0.4", | ||
"glsl-read-float": "^1.0.0", | ||
"glslify": "^7.0.0", | ||
"ndarray": "^1.0.16" | ||
"ndarray": "^1.0.18" | ||
}, | ||
"devDependencies": { | ||
"chttps": "^1.0.6", | ||
"game-shell-orbit-camera": "^1.0.0", | ||
"gl-now": "^1.3.1", | ||
"gl-matrix": "^3.0.0", | ||
"gl-axes": "^6.0.2", | ||
"gl-matrix": "^3.2.1", | ||
"gl-now": "^1.4.0", | ||
"gl-select": "^3.0.0", | ||
@@ -27,0 +27,0 @@ "gl-spikes": "^2.0.1" |
Sorry, the diff of this file is not supported yet
22294
8
505
7
- Removedglsl-read-float@^1.0.0
- Removedglsl-read-float@1.1.0(transitive)
Updatedgl-buffer@^2.1.2
Updatedgl-texture2d@^2.1.0
Updatedgl-vao@^1.3.0
Updatedndarray@^1.0.18