three-forcegraph
Advanced tools
Comparing version 1.18.0 to 1.18.1
@@ -757,3 +757,3 @@ 'use strict'; | ||
var headVec = _construct(THREE.Vector3, _toConsumableArray(['x', 'y', 'z'].map(function (c) { | ||
var headVec = _construct(three.Vector3, _toConsumableArray(['x', 'y', 'z'].map(function (c) { | ||
return arrowHead[c]; | ||
@@ -760,0 +760,0 @@ }))); |
@@ -753,3 +753,3 @@ import { Mesh, MeshLambertMaterial, BufferGeometry, BufferAttribute, Matrix4, Vector3, SphereGeometry, CylinderGeometry, ConeGeometry, Line, LineBasicMaterial, QuadraticBezierCurve3, CubicBezierCurve3, Group } from 'three'; | ||
var headVec = _construct(THREE.Vector3, _toConsumableArray(['x', 'y', 'z'].map(function (c) { | ||
var headVec = _construct(three.Vector3, _toConsumableArray(['x', 'y', 'z'].map(function (c) { | ||
return arrowHead[c]; | ||
@@ -756,0 +756,0 @@ }))); |
{ | ||
"name": "three-forcegraph", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"description": "Force-directed graph as a ThreeJS 3d object", | ||
@@ -61,3 +61,3 @@ "unpkg": "dist/three-forcegraph.min.js", | ||
"rimraf": "^2.6.3", | ||
"rollup": "^1.10.1", | ||
"rollup": "^1.11.3", | ||
"rollup-plugin-babel": "^4.3.2", | ||
@@ -64,0 +64,0 @@ "rollup-plugin-commonjs": "^9.3.4", |
@@ -372,3 +372,3 @@ import { | ||
const headVec = new THREE.Vector3(...['x', 'y', 'z'].map(c => arrowHead[c])); | ||
const headVec = new three.Vector3(...['x', 'y', 'z'].map(c => arrowHead[c])); | ||
arrowObj.parent.localToWorld(headVec); // lookAt requires world coords | ||
@@ -375,0 +375,0 @@ arrowObj.lookAt(headVec); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1187329