未验证 提交 93f49248 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #18593 from gonnavis/CurvePath_getPoint

Docs: CurvePath overwrited Curve's getPoints, getSpacedPoints default value.
......@@ -51,7 +51,20 @@
<h3>[method:Float getCurveLengths]()</h3>
<p>Adds together the lengths of the curves in the [page:.curves] array.</p>
<h3>[method:Array getPoints]( [param:Integer divisions] )</h3>
<p>
divisions -- number of pieces to divide the curve into. Default is *12*.<br /><br />
Returns a set of divisions + 1 points using getPoint( t ).
</p>
<h3>[method:Array getSpacedPoints]( [param:Integer divisions] )</h3>
<p>
divisions -- number of pieces to divide the curve into. Default is *40*.<br /><br />
Returns a set of divisions + 1 equi-spaced points using getPointAt( u ).
</p>
<h2>Source</h2>
......
......@@ -52,6 +52,19 @@
<h3>[method:Float getCurveLengths]()</h3>
<p>将[page:.curves]数组中曲线的长度相加。</p>
<h3>[method:Array getPoints]( [param:Integer divisions] )</h3>
<p>
divisions -- 曲线分段数量。默认值为*12*。<br /><br />
返回一组使用getPoint( t )获得的divisions + 1个点。
</p>
<h3>[method:Array getSpacedPoints]( [param:Integer divisions] )</h3>
<p>
divisions -- 曲线分段数量。默认值为*40*。<br /><br />
返回一组使用getPointAt( u )获得的divisions + 1个均分点。
</p>
<h2>源代码</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册