Skip to content

Commit

Permalink
Merge pull request #23 from Zetoff/fix/threeCSG-dependency
Browse files Browse the repository at this point in the history
imported three for ThreeBSP
  • Loading branch information
PolGuixe authored Dec 22, 2017
2 parents a0d3e9f + 7ac531f commit 222371f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/extras/geometry/modifiers/ThreeCSG.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import THREE from 'three';

const EPSILON = 1e-5,
COPLANAR = 0,
FRONT = 1,
BACK = 2,
SPANNING = 3;

export default class ThreeBSP {
constructor(geometry) {
// Convert THREE.Geometry to ThreeBSP
Expand Down

0 comments on commit 222371f

Please sign in to comment.