Comparing version 1.1.0 to 1.2.0
@@ -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 |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50885
1417
103
1