diff --git a/package-lock.json b/package-lock.json index f40c0371415..9461fefa5e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5005,9 +5005,9 @@ } }, "gl-mesh3d": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/gl-mesh3d/-/gl-mesh3d-1.3.2.tgz", - "integrity": "sha512-sxqKOQA8T2V1CaNefC7X2FTbTPRXWlmzyPd+UOmeUoUYypanFufnDoNLjMEmD5Njq8M5DBg4G7POzf4Jd8272w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/gl-mesh3d/-/gl-mesh3d-2.0.0.tgz", + "integrity": "sha512-cvusWaXEnpH4eXHlN+B3gXj55tOywr5Y2ERI5HrJTdvc5Z77NHEZ6FA66kacdbhqr3r1vM0CMOeeLoteDQumpQ==", "requires": { "barycentric": "1.0.1", "colormap": "2.3.0", @@ -5016,6 +5016,7 @@ "gl-shader": "4.2.1", "gl-texture2d": "2.1.0", "gl-vao": "1.3.0", + "glsl-face-normal": "1.0.2", "glsl-specular-cook-torrance": "2.0.1", "glslify": "6.1.0", "ndarray": "1.0.18", @@ -5334,6 +5335,11 @@ "minimatch": "3.0.4" } }, + "glsl-face-normal": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/glsl-face-normal/-/glsl-face-normal-1.0.2.tgz", + "integrity": "sha1-fud12Rmk8u6S9Xu2mOh8x12/Eog=" + }, "glsl-inject-defines": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz", diff --git a/package.json b/package.json index 2294abb7380..55f2a65e3f0 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "gl-heatmap2d": "^1.0.4", "gl-line3d": "^1.1.2", "gl-mat4": "^1.1.2", - "gl-mesh3d": "^1.3.2", + "gl-mesh3d": "^2.0.0", "gl-plot2d": "^1.3.1", "gl-plot3d": "^1.5.5", "gl-pointcloud2d": "^1.0.1", diff --git a/test/image/baselines/gl3d_bunny-hull.png b/test/image/baselines/gl3d_bunny-hull.png index 56ac4f9bd60..17acf19c946 100644 Binary files a/test/image/baselines/gl3d_bunny-hull.png and b/test/image/baselines/gl3d_bunny-hull.png differ diff --git a/test/image/baselines/gl3d_bunny.png b/test/image/baselines/gl3d_bunny.png index f9d7d612ed5..50516e002a9 100644 Binary files a/test/image/baselines/gl3d_bunny.png and b/test/image/baselines/gl3d_bunny.png differ diff --git a/test/image/baselines/gl3d_convex-hull.png b/test/image/baselines/gl3d_convex-hull.png index f9d7d612ed5..50516e002a9 100644 Binary files a/test/image/baselines/gl3d_convex-hull.png and b/test/image/baselines/gl3d_convex-hull.png differ diff --git a/test/image/baselines/gl3d_snowden.png b/test/image/baselines/gl3d_snowden.png index 45e998bc33e..a1d15ad3eac 100644 Binary files a/test/image/baselines/gl3d_snowden.png and b/test/image/baselines/gl3d_snowden.png differ diff --git a/test/image/baselines/gl3d_snowden_altered.png b/test/image/baselines/gl3d_snowden_altered.png index d0b3c8cff66..c4a30fea97a 100644 Binary files a/test/image/baselines/gl3d_snowden_altered.png and b/test/image/baselines/gl3d_snowden_altered.png differ diff --git a/test/image/baselines/gl3d_tetrahedra.png b/test/image/baselines/gl3d_tetrahedra.png index b148964e1dd..2cb8166778d 100644 Binary files a/test/image/baselines/gl3d_tetrahedra.png and b/test/image/baselines/gl3d_tetrahedra.png differ diff --git a/test/image/baselines/gl3d_world-cals.png b/test/image/baselines/gl3d_world-cals.png index 2c192891d1d..f451f9795e7 100644 Binary files a/test/image/baselines/gl3d_world-cals.png and b/test/image/baselines/gl3d_world-cals.png differ