diff --git a/examples/jsm/modifiers/EdgeSplitModifier.js b/examples/jsm/modifiers/EdgeSplitModifier.js index c0a129c21ab3d6..60441aaa3820cb 100644 --- a/examples/jsm/modifiers/EdgeSplitModifier.js +++ b/examples/jsm/modifiers/EdgeSplitModifier.js @@ -181,12 +181,6 @@ class EdgeSplitModifier { if ( geometry.index == null ) { - if ( BufferGeometryUtils === undefined ) { - - throw new Error( 'THREE.EdgeSplitModifier relies on BufferGeometryUtils' ); - - } - geometry = BufferGeometryUtils.mergeVertices( geometry ); } diff --git a/examples/jsm/modifiers/SimplifyModifier.js b/examples/jsm/modifiers/SimplifyModifier.js index 4483c24d805800..609f688bc9d9e2 100644 --- a/examples/jsm/modifiers/SimplifyModifier.js +++ b/examples/jsm/modifiers/SimplifyModifier.js @@ -17,16 +17,6 @@ const _cb = new Vector3(), _ab = new Vector3(); class SimplifyModifier { - constructor() { - - if ( BufferGeometryUtils === undefined ) { - - throw new Error( 'THREE.SimplifyModifier relies on BufferGeometryUtils' ); - - } - - } - modify( geometry, count ) { if ( geometry.isGeometry === true ) {