提交 288e87a0 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11792 from satori99/meshdistancematerial-fix

Remove THREE. prefix from Vector3 in MeshDistanceMaterial
import { Material } from './Material';
import { Vector3 } from '../math/Vector3.js';
/**
* @author WestLangley / http://github.com/WestLangley
......@@ -29,7 +30,7 @@ function MeshDistanceMaterial( parameters ) {
this.type = 'MeshDistanceMaterial';
this.referencePosition = new THREE.Vector3();
this.referencePosition = new Vector3();
this.nearDistance = 1;
this.farDistance = 1000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册