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

gl-mesh3d

Package Overview
Dependencies
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-mesh3d - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

3

mesh.js

@@ -238,2 +238,5 @@ 'use strict'

}
if('lightPosition' in params) {
this.lightPosition = params.lightPosition
}
if('opacity' in params) {

@@ -240,0 +243,0 @@ this.opacity = params.opacity

2

package.json
{
"name": "gl-mesh3d",
"version": "1.1.0",
"version": "1.2.0",
"description": "3D mesh drawing",

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

@@ -75,2 +75,5 @@ gl-mesh3d

#### `mesh.lightPosition`
The 3D position of the directional light source
#### `mesh.ambientLight`

@@ -91,2 +94,8 @@ Ambient light color

#### `mesh.vertexNormalsEpsilon`
Epsilon for vertex normals calculation
#### `mesh.faceNormalsEpsilon`
Epsilon for face normals calculation
#### `mesh.opacity`

@@ -93,0 +102,0 @@ Opacity

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