Socket
Socket
Sign inDemoInstall

gl-line3d

Package Overview
Dependencies
86
Maintainers
17
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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')

16

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc