未验证 提交 6cda6b2a 编写于 作者: M Michael Herzog 提交者: GitHub

PMREMGenerator: Clean up. (#22274)

上级 74bf45ae
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册