瀏覽代碼

Fix typo in ConeBufferGeometry (again)

Kevin LEVRON 4 年之前
父節點
當前提交
7fac5aa010
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/geometries/ConeBufferGeometry.d.ts

+ 3 - 3
src/geometries/ConeBufferGeometry.d.ts

@@ -5,7 +5,7 @@ export class ConeBufferGeometry extends CylinderBufferGeometry {
 	/**
 	 * @param [radius=1] — Radius of the cone base.
 	 * @param [height=1] — Height of the cone.
-	 * @param [radialSegment=8] — Number of segmented faces around the circumference of the cone.
+	 * @param [radialSegments=8] — Number of segmented faces around the circumference of the cone.
 	 * @param [heightSegments=1] — Number of rows of faces along the height of the cone.
 	 * @param [openEnded=false] — A Boolean indicating whether the base of the cone is open or capped.
 	 * @param [thetaStart=0]
@@ -14,8 +14,8 @@ export class ConeBufferGeometry extends CylinderBufferGeometry {
 	constructor(
 		radius?: number,
 		height?: number,
-		radialSegment?: number,
-		heightSegment?: number,
+		radialSegments?: number,
+		heightSegments?: number,
 		openEnded?: boolean,
 		thetaStart?: number,
 		thetaLength?: number