2
0
gonnavis 5 жил өмнө
parent
commit
a814bf02d7

+ 10 - 3
docs/api/en/extras/core/CurvePath.html

@@ -51,13 +51,20 @@
 
 		<h3>[method:Float getCurveLengths]()</h3>
 		<p>Adds together the lengths of the curves in the [page:.curves] array.</p>
-
-		<h3>[method:Vector getPoint]( [param:Float t] )</h3>
-
+				
 		<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>
 

+ 13 - 0
docs/api/zh/extras/core/CurvePath.html

@@ -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>