Skip to content

Commit 94b5280

Browse files
authored
Merge pull request #17036 from gonnavis/Docs_ExtrudeGeometry_Curve
ExtrudeGeometry's extrudePath should be Curve not CurvePath
2 parents ae40853 + 0c86bc1 commit 94b5280

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/api/en/geometries/ExtrudeBufferGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3>[name]([param:Array shapes], [param:Object options])</h3>
7979
<li>bevelSize — float. Distance from the shape outline that the bevel extends. Default is bevelThickness - 2.</li>
8080
<li>bevelOffset — float. Distance from the shape outline that the bevel starts. Default is 0.</li>
8181
<li>bevelSegments — int. Number of bevel layers. Default is 3.</li>
82-
<li>extrudePath — THREE.CurvePath. A 3D spline path along which the shape should be extruded.</li>
82+
<li>extrudePath — THREE.Curve. A 3D spline path along which the shape should be extruded.</li>
8383
<li>UVGenerator — Object. object that provides UV generator functions</li>
8484
</ul>
8585

docs/api/en/geometries/ExtrudeGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3>[name]([param:Array shapes], [param:Object options])</h3>
7979
<li>bevelSize — float. Distance from the shape outline that the bevel extends. Default is bevelThickness - 2.</li>
8080
<li>bevelOffset — float. Distance from the shape outline that the bevel starts. Default is 0.</li>
8181
<li>bevelSegments — int. Number of bevel layers. Default is 3.</li>
82-
<li>extrudePath — THREE.CurvePath. A 3D spline path along which the shape should be extruded.</li>
82+
<li>extrudePath — THREE.Curve. A 3D spline path along which the shape should be extruded.</li>
8383
<li>UVGenerator — Object. object that provides UV generator functions</li>
8484
</ul>
8585

docs/api/zh/geometries/ExtrudeBufferGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h3>[name]([param:Array shapes], [param:Object options])</h3>
7777
<li>bevelThickness — float,设置原始形状上斜角的厚度。默认值为6。</li>
7878
<li>bevelSize — float。斜角与原始形状轮廓之间的延伸距离,默认值为bevelThickness-2。</li>
7979
<li>bevelSegments — int。斜角的分段层数,默认值为3。</li>
80-
<li>extrudePath — THREE.CurvePath对象。一条沿着被挤出形状的三维样条线。</li>
80+
<li>extrudePath — THREE.Curve对象。一条沿着被挤出形状的三维样条线。</li>
8181
<li>UVGenerator — Object。提供了UV生成器函数的对象。</li>
8282
</ul>
8383

docs/api/zh/geometries/ExtrudeGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h3>[name]([param:Array shapes], [param:Object options])</h3>
7777
<li>bevelThickness — float,设置原始形状上斜角的厚度。默认值为6。</li>
7878
<li>bevelSize — float。斜角与原始形状轮廓之间的延伸距离,默认值为bevelThickness-2。</li>
7979
<li>bevelSegments — int。斜角的分段层数,默认值为3。</li>
80-
<li>extrudePath — THREE.CurvePath对象。一条沿着被挤出形状的三维样条线。</li>
80+
<li>extrudePath — THREE.Curve对象。一条沿着被挤出形状的三维样条线。</li>
8181
<li>UVGenerator — Object。提供了UV生成器函数的对象。</li>
8282
</ul>
8383

src/geometries/ExtrudeGeometry.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CurvePath } from './../extras/core/CurvePath';
1+
import { Curve } from './../extras/core/Curve';
22
import { UVGenerator } from './ExtrudeGeometry';
33
import { Vector2 } from './../math/Vector2';
44
import { Vector3 } from './../math/Vector3';
@@ -15,7 +15,7 @@ export interface ExtrudeGeometryOptions {
1515
bevelSize?: number;
1616
bevelOffset?: number;
1717
bevelSegments?: number;
18-
extrudePath?: CurvePath<Vector3>;
18+
extrudePath?: Curve<Vector3>;
1919
UVGenerator?: UVGenerator;
2020
}
2121

0 commit comments

Comments
 (0)