Browse Source

Fix typo in ConeGeometry (again)

Kevin LEVRON 4 years ago
parent
commit
6e6cb3bb65
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/geometries/ConeGeometry.d.ts

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

@@ -5,7 +5,7 @@ export class ConeGeometry extends CylinderGeometry {
 	/**
 	/**
 	 * @param [radius=1] — Radius of the cone base.
 	 * @param [radius=1] — Radius of the cone base.
 	 * @param [height=1] — Height of the cone.
 	 * @param [height=1] — Height of the cone.
-	 * @param [radiusSegments=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 [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 [openEnded=false] — A Boolean indicating whether the base of the cone is open or capped.
 	 * @param [thetaStart=0]
 	 * @param [thetaStart=0]
@@ -14,8 +14,8 @@ export class ConeGeometry extends CylinderGeometry {
 	constructor(
 	constructor(
 		radius?: number,
 		radius?: number,
 		height?: number,
 		height?: number,
-		radialSegment?: number,
-		heightSegment?: number,
+		radialSegments?: number,
+		heightSegments?: number,
 		openEnded?: boolean,
 		openEnded?: boolean,
 		thetaStart?: number,
 		thetaStart?: number,
 		thetaLength?: number
 		thetaLength?: number