未验证 提交 9d26212f 编写于 作者: K krong 提交者: GitHub

Merge pull request #1 from ikrong/ikrong-patch-1

.getPlane method needs a Plane as a target
import { Vector3 } from './Vector3.js';
import { Plane } from './Plane.js';
/**
* @author bhouston / http://clara.io
......@@ -196,7 +197,7 @@ Object.assign( Triangle.prototype, {
if ( target === undefined ) {
console.warn( 'THREE.Triangle: .getPlane() target is now required' );
target = new Vector3();
target = new Plane();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册