From 64b17f275f00427ba3346acc2178f02a5b9fec68 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Thu, 5 Aug 2021 11:35:46 +0200 Subject: [PATCH] PMREMGenerator: Clean up. --- src/extras/PMREMGenerator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extras/PMREMGenerator.js b/src/extras/PMREMGenerator.js index 69ac7e7069bb69..833cecc7d8cafa 100644 --- a/src/extras/PMREMGenerator.js +++ b/src/extras/PMREMGenerator.js @@ -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();