Skip to content

Commit

Permalink
unused variable in THREE.Octree.js
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-trzesiok committed May 2, 2019
1 parent 59b360b commit d62e893
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions js/src/providers/threejs/helpers/THREE.Octree.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ module.exports = function (THREE) {
faces,
useFaces,
vertices,
useVertices,
objectData;
useVertices;

// ensure object is not object data

Expand Down Expand Up @@ -401,7 +400,6 @@ module.exports = function (THREE) {

var i, l,
node,
object,
objectData,
indexOctant,
indexOctantLast,
Expand Down Expand Up @@ -1415,7 +1413,6 @@ module.exports = function (THREE) {
objectsExpand,
indexOctant,
flagsOutside,
indexOutside,
indexOctantInverse,
iom = this.tree.INDEX_OUTSIDE_MAP,
indexOutsideCounts,
Expand Down Expand Up @@ -1676,7 +1673,6 @@ module.exports = function (THREE) {
merge: function (nodes) {

var i, l,
j, k,
node;

// handle nodes
Expand Down Expand Up @@ -1802,8 +1798,7 @@ module.exports = function (THREE) {

getOctantIndex: function (objectData) {

var i, l,
positionObj,
var positionObj,
radiusObj,
position = this.position,
radiusOverlap = this.radiusOverlap,
Expand Down

0 comments on commit d62e893

Please sign in to comment.