浏览代码

improved documentation of LatheGeometry/LatheBufferGeometry

Mugen87 9 年之前
父节点
当前提交
af676191de
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/api/extras/geometries/LatheBufferGeometry.html
  2. 1 1
      docs/api/extras/geometries/LatheGeometry.html

+ 1 - 1
docs/api/extras/geometries/LatheBufferGeometry.html

@@ -35,7 +35,7 @@
 
 		<h3>[name]([page:Array points], [page:Integer segments], [page:Float phiStart], [page:Float phiLength])</h3>
 		<div>
-		points — Array of Vector2s.<br />
+		points — Array of Vector2s. The x-coordinate of each point must be greater than zero.<br />
 		segments — the number of circumference segments to generate. Default is 12.<br />
 		phiStart — the starting angle in radians. Default is 0.<br />
 		phiLength — the radian (0 to 2PI) range of the lathed section 2PI is a closed lathe, less than 2PI is a portion. Default is 2PI.

+ 1 - 1
docs/api/extras/geometries/LatheGeometry.html

@@ -35,7 +35,7 @@
 
 		<h3>[name]([page:Array points], [page:Integer segments], [page:Float phiStart], [page:Float phiLength])</h3>
 		<div>
-		points — Array of Vector2s.<br />
+		points — Array of Vector2s. The x-coordinate of each point must be greater than zero.<br />
 		segments — the number of circumference segments to generate. Default is 12.<br />
 		phiStart — the starting angle in radians. Default is 0.<br />
 		phiLength — the radian (0 to 2PI) range of the lathed section 2PI is a closed lathe, less than 2PI is a portion. Default is 2PI.