Skip to content

Commit 65da347

Browse files
committed
bump gl-cone3d 1.6.0 and rebuild stackgl index
1 parent df7ad45 commit 65da347

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

Diff for: stackgl_modules/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -13782,7 +13782,7 @@ module.exports = function(vectorfield, bounds) {
1378213782
var positionVectors = [];
1378313783
var vectorScale = Infinity;
1378413784
var skipIt = false;
13785-
var vectorSizemode = vectorfield.coneSizemode === 'raw';
13785+
var rawSizemodemode = vectorfield.coneSizemode === 'raw';
1378613786
for (var i = 0; i < positions.length; i++) {
1378713787
var p = positions[i];
1378813788
minX = Math.min(p[0], minX);
@@ -13796,7 +13796,7 @@ module.exports = function(vectorfield, bounds) {
1379613796
if (vec3.length(u) > maxNorm) {
1379713797
maxNorm = vec3.length(u);
1379813798
}
13799-
if (i && !vectorSizemode) {
13799+
if (i && !rawSizemodemode) {
1380013800
// Find vector scale [w/ units of time] using "successive" positions
1380113801
// (not "adjacent" with would be O(n^2)),
1380213802
//
@@ -13836,7 +13836,7 @@ module.exports = function(vectorfield, bounds) {
1383613836
geo.vectorScale = vectorScale;
1383713837

1383813838
var coneScale = vectorfield.coneSize || (
13839-
vectorSizemode ? 1 :0.5
13839+
rawSizemodemode ? 1 :0.5
1384013840
);
1384113841

1384213842
if (vectorfield.absoluteConeSize) {

Diff for: stackgl_modules/package-lock.json

+7-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: stackgl_modules/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"box-intersect": "plotly/box-intersect#v1.1.0",
1414
"convex-hull": "^1.0.3",
1515
"delaunay-triangulate": "^1.1.6",
16-
"gl-cone3d": "github:gl-vis/gl-cone3d#846764e2c95157fcfcf1ef264401c3cf665faaaa",
16+
"gl-cone3d": "^1.6.0",
1717
"gl-error3d": "^1.0.16",
1818
"gl-heatmap2d": "^1.1.1",
1919
"gl-line3d": "1.2.1",

0 commit comments

Comments
 (0)