Skip to content

Commit e1dff30

Browse files
committed
removing 3d-view-controls dependency now loacted in gl-plot3d
1 parent b010a1c commit e1dff30

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

package-lock.json

Lines changed: 8 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,17 @@
5757
]
5858
},
5959
"dependencies": {
60-
"3d-view-controls": "git://github.com/archmoj/3d-view-controls.git#fe3c77b807618c0d51f4c50a691e2af0486bfda9",
60+
"@plotly/d3-sankey": "0.7.2",
6161
"alpha-shape": "^1.0.0",
6262
"array-range": "^1.0.1",
6363
"canvas-fit": "^1.5.0",
6464
"color-normalize": "^1.3.0",
6565
"convex-hull": "^1.0.3",
6666
"country-regex": "^1.1.0",
6767
"d3": "^3.5.12",
68-
"@plotly/d3-sankey": "0.7.2",
69-
"d3-sankey-circular": "0.32.0",
7068
"d3-force": "^1.0.6",
7169
"d3-interpolate": "1",
70+
"d3-sankey-circular": "0.32.0",
7271
"delaunay-triangulate": "^1.1.6",
7372
"es6-promise": "^3.0.2",
7473
"fast-isnumeric": "^1.1.2",
@@ -81,7 +80,7 @@
8180
"gl-mat4": "^1.2.0",
8281
"gl-mesh3d": "^2.0.7",
8382
"gl-plot2d": "^1.4.2",
84-
"gl-plot3d": "git://github.com/gl-vis/gl-plot3d.git#33d5169a62d9b903a8f3a4607f4dae726c4bb57b",
83+
"gl-plot3d": "git://github.com/gl-vis/gl-plot3d.git#c7f8316a9c4182a2439fb45f3921a09405ac85a8",
8584
"gl-pointcloud2d": "^1.0.2",
8685
"gl-scatter3d": "^1.1.6",
8786
"gl-select-box": "^1.0.3",

src/plots/gl3d/scene.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
'use strict';
1111

12-
var createCamera = require('3d-view-controls');
13-
var createPlot = require('gl-plot3d');
12+
var createCamera = require('gl-plot3d').createCamera;
13+
var createPlot = require('gl-plot3d').createScene;
1414
var getContext = require('webgl-context');
1515
var passiveSupported = require('has-passive-events');
1616

0 commit comments

Comments
 (0)