Przeglądaj źródła

Merge pull request #13846 from paulmasson/patch-1

Update parametric geometry documentation for new behavior
Mr.doob 7 lat temu
rodzic
commit
85c1ed2720

+ 1 - 1
docs/api/geometries/ParametricBufferGeometry.html

@@ -47,7 +47,7 @@
 
 
 		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
 		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
 		<p>
 		<p>
-		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and returns a [page:Vector3]<br />
+		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and modifies a third [page:Vector3] argument<br />
 		slices — The count of slices to use for the parametric function <br />
 		slices — The count of slices to use for the parametric function <br />
 		stacks — The count of stacks to use for the parametric function
 		stacks — The count of stacks to use for the parametric function
 		</p>
 		</p>

+ 1 - 1
docs/api/geometries/ParametricGeometry.html

@@ -47,7 +47,7 @@
 
 
 		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
 		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
 		<p>
 		<p>
-		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and returns a [page:Vector3]<br />
+		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and modifies a third [page:Vector3] argument<br />
 		slices — The count of slices to use for the parametric function <br />
 		slices — The count of slices to use for the parametric function <br />
 		stacks — The count of stacks to use for the parametric function
 		stacks — The count of stacks to use for the parametric function
 		</p>
 		</p>