提交 a27e1baf 编写于 作者: R rfm1201 提交者: Mr.doob

typo bug in getPoints (#9265)

上级 779655b4
......@@ -165,7 +165,7 @@ THREE.CurvePath.prototype = Object.assign( Object.create( THREE.Curve.prototype
var curve = curves[ i ];
var resolution = curve instanceof THREE.EllipseCurve ? divisions * 2
: curve instanceof THREE.LineCurve ? 1
: curve instanceof THREE.SplineCurve ? divisions * curves.points.length
: curve instanceof THREE.SplineCurve ? divisions * curve.points.length
: divisions;
var pts = curve.getPoints( resolution );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册