hilbert-chart-3d 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -180,7 +180,7 @@ var index = Kapsule({
|
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
stateInit({
|
|
183
|
-
controlType = '
|
|
183
|
+
controlType = 'orbit',
|
|
184
184
|
rendererConfig
|
|
185
185
|
}) {
|
|
186
186
|
const hilbert = new ThreeHilbert();
|
|
@@ -223,6 +223,7 @@ var index = Kapsule({
|
|
|
223
223
|
const d = getHilbertObjData(obj, intersection);
|
|
224
224
|
d ? state.onClick?.(d, ev) : state.onBackgroundClick?.(ev);
|
|
225
225
|
});
|
|
226
|
+
state.renderObjs.camera().near = 0.001;
|
|
226
227
|
state.renderObjs.camera().position.z = 500;
|
|
227
228
|
state.controlType === 'fly' && (state.renderObjs.controls().movementSpeed = 80);
|
|
228
229
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hilbert-chart-3d",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "A 3d hilbert space-filling curve D3 chart for representing one-dimensional lengths on a three-dimensional space.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"jsdelivr": "dist/hilbert-chart-3d.min.js",
|