Forráskód Böngészése

Fix typo in CylinderGeometry

Kevin LEVRON 4 éve
szülő
commit
5e2fe49cec
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/geometries/CylinderGeometry.d.ts

+ 2 - 2
src/geometries/CylinderGeometry.d.ts

@@ -6,7 +6,7 @@ export class CylinderGeometry extends Geometry {
 	 * @param [radiusTop=1] — Radius of the cylinder at the top.
 	 * @param [radiusBottom=1] — Radius of the cylinder at the bottom.
 	 * @param [height=1] — Height of the cylinder.
-	 * @param [radiusSegments=8] — Number of segmented faces around the circumference of the cylinder.
+	 * @param [radialSegments=8] — Number of segmented faces around the circumference of the cylinder.
 	 * @param [heightSegments=1] — Number of rows of faces along the height of the cylinder.
 	 * @param [openEnded=false] - A Boolean indicating whether or not to cap the ends of the cylinder.
 	 * @param [thetaStart=0]
@@ -16,7 +16,7 @@ export class CylinderGeometry extends Geometry {
 		radiusTop?: number,
 		radiusBottom?: number,
 		height?: number,
-		radiusSegments?: number,
+		radialSegments?: number,
 		heightSegments?: number,
 		openEnded?: boolean,
 		thetaStart?: number,