Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gl-scatter-plot

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-scatter-plot - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

2

package.json
{
"name": "gl-scatter-plot",
"version": "5.1.0",
"version": "5.2.0",
"description": "3D scatter plot",

@@ -5,0 +5,0 @@ "main": "pointcloud.js",

@@ -79,3 +79,3 @@ 'use strict'

this.highlightColor = [0,0,0]
this.highlightColor = [0,0,0,1]
this.highlightId = [1,1,1,1]

@@ -153,3 +153,3 @@

this.highlightId = [1,1,1,1]
this.highlightColor = [0,0,0]
this.highlightColor = [0,0,0,1]
} else {

@@ -161,5 +161,9 @@ var a0 = pointId &0xff

if(color) {
this.highlightColor = color
if(color.length === 3) {
this.highlightColor = [color[0], color[1], color[2], 1]
} else {
this.highlightColor = color
}
} else {
this.highlightColor = [0,0,0]
this.highlightColor = [0,0,0,1]
}

@@ -230,3 +234,3 @@ }

pointBuf.push(point[0], point[1], point[2])
colorBuf.push(color[0], color[1], color[2])
colorBuf.push(color[0], color[1], color[2], color[3])
idBuf.push(pickCounter)

@@ -261,4 +265,7 @@ var x = positions[c[k]]

} else {
color = [0,0,0]
color = [0,0,0,1]
}
if(color.length === 3) {
color = [color[0], color[1], color[2], 1]
}

@@ -275,2 +282,5 @@ var lineColor

}
if(lineColor.length === 3) {
lineColor = [lineColor[0], lineColor[1], lineColor[2], 1]
}

@@ -393,3 +403,3 @@ var size

buffer: colorBuffer,
size: 3,
size: 4,
type: gl.FLOAT

@@ -396,0 +406,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc