|
@@ -25,7 +25,7 @@ import { Vector3 } from '../math/Vector3.js';
|
|
|
import { Color } from '../math/Color.js';
|
|
|
import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget.js';
|
|
|
import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js';
|
|
|
-import { BoxBufferGeometry } from '../geometries/BoxGeometry.js';
|
|
|
+import { BoxGeometry } from '../geometries/BoxGeometry.js';
|
|
|
import { BackSide } from '../constants.js';
|
|
|
|
|
|
const LOD_MIN = 4;
|
|
@@ -59,7 +59,7 @@ const backgroundMaterial = new MeshBasicMaterial( {
|
|
|
depthWrite: false,
|
|
|
depthTest: false,
|
|
|
} );
|
|
|
-const backgroundBox = new Mesh( new BoxBufferGeometry(), backgroundMaterial );
|
|
|
+const backgroundBox = new Mesh( new BoxGeometry(), backgroundMaterial );
|
|
|
|
|
|
const _flatCamera = /*@__PURE__*/ new OrthographicCamera();
|
|
|
const { _lodPlanes, _sizeLods, _sigmas } = /*@__PURE__*/ _createPlanes();
|