New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

gl-mesh3d

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-mesh3d - npm Package Compare versions

Comparing version

to
2.1.2

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

pCol.push(c[0], c[1], c[2], c[3] * this.opacity)
if(!this.hasAlpha && c[3] < 1) this.hasAlpha = true
if(c[3] < 1) this.hasAlpha = true
}

@@ -526,3 +526,3 @@

eCol.push(c[0], c[1], c[2], c[3] * this.opacity)
if(!this.hasAlpha && c[3] < 1) this.hasAlpha = true
if(c[3] < 1) this.hasAlpha = true
}

@@ -582,3 +582,5 @@

if(this.opacityscale && vertexIntensity) {
if(!c) {
tCol.push(0,0,0,0)
} else if(this.opacityscale && vertexIntensity) {
tCol.push(c[0], c[1], c[2],

@@ -594,3 +596,3 @@ this.opacity * getOpacityFromScale(

tCol.push(c[0], c[1], c[2], c[3] * this.opacity)
if(!this.hasAlpha && c[3] < 1) this.hasAlpha = true
if(c[3] < 1) this.hasAlpha = true
}

@@ -597,0 +599,0 @@

{
"name": "gl-mesh3d",
"version": "2.1.1",
"version": "2.1.2",
"description": "3D mesh drawing",

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