Skip to content

Commit

Permalink
Merge pull request #20426 from klevron/dev
Browse files Browse the repository at this point in the history
Geometries: Clean up TS files.
  • Loading branch information
mrdoob committed Sep 28, 2020
2 parents 1cf4431 + 87e2202 commit abedf8c
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/geometries/CircleBufferGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/geometries/CircleGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
17 changes: 8 additions & 9 deletions src/geometries/ConeBufferGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 8 additions & 9 deletions src/geometries/ConeGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/geometries/CylinderBufferGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/geometries/CylinderGeometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit abedf8c

Please sign in to comment.