Browse Source

Merge pull request #20426 from klevron/dev

Geometries: Clean up TS files.
Mr.doob 4 years ago
parent
commit
abedf8c0ad

+ 1 - 1
src/geometries/CircleBufferGeometry.d.ts

@@ -6,7 +6,7 @@ export class CircleBufferGeometry extends BufferGeometry {
 	 * @param [radius=1]
 	 * @param [segments=8]
 	 * @param [thetaStart=0]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radius?: number,

+ 1 - 1
src/geometries/CircleGeometry.d.ts

@@ -6,7 +6,7 @@ export class CircleGeometry extends Geometry {
 	 * @param [radius=1]
 	 * @param [segments=8]
 	 * @param [thetaStart=0]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radius?: number,

+ 8 - 9
src/geometries/ConeBufferGeometry.d.ts

@@ -3,20 +3,19 @@ import { CylinderBufferGeometry } from './CylinderBufferGeometry';
 export class ConeBufferGeometry extends CylinderBufferGeometry {
 
 	/**
-	 * @param [radiusTop=0] — 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 [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 [radius=1] — Radius of the cone base.
+	 * @param [height=1] — Height 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]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radius?: number,
 		height?: number,
-		radialSegment?: number,
-		heightSegment?: number,
+		radialSegments?: number,
+		heightSegments?: number,
 		openEnded?: boolean,
 		thetaStart?: number,
 		thetaLength?: number

+ 8 - 9
src/geometries/ConeGeometry.d.ts

@@ -3,20 +3,19 @@ import { CylinderGeometry } from './CylinderGeometry';
 export class ConeGeometry extends CylinderGeometry {
 
 	/**
-	 * @param [radiusTop=0] — 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 [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 [radius=1] — Radius of the cone base.
+	 * @param [height=1] — Height 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]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radius?: number,
 		height?: number,
-		radialSegment?: number,
-		heightSegment?: number,
+		radialSegments?: number,
+		heightSegments?: number,
 		openEnded?: boolean,
 		thetaStart?: number,
 		thetaLength?: number

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

@@ -6,11 +6,11 @@ export class CylinderBufferGeometry extends BufferGeometry {
 	 * @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]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radiusTop?: number,

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

@@ -6,17 +6,17 @@ 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]
-	 * @param [widthSegments=Math.PI * 2]
+	 * @param [thetaLength=Math.PI * 2]
 	 */
 	constructor(
 		radiusTop?: number,
 		radiusBottom?: number,
 		height?: number,
-		radiusSegments?: number,
+		radialSegments?: number,
 		heightSegments?: number,
 		openEnded?: boolean,
 		thetaStart?: number,