Browse Source

Fixed d.ts files.

Mr.doob 4 years ago
parent
commit
d7ddf4d87e
2 changed files with 0 additions and 40 deletions
  1. 0 20
      src/extras/core/Shape.d.ts
  2. 0 20
      src/geometries/Geometries.d.ts

+ 0 - 20
src/extras/core/Shape.d.ts

@@ -1,7 +1,5 @@
 import { Vector2 } from './../../math/Vector2';
 import { Path } from './Path';
-import { ExtrudeGeometry } from './../../geometries/ExtrudeGeometry';
-import { ShapeGeometry } from './../../geometries/ShapeGeometry';
 
 /**
  * Defines a 2d shape plane using paths.
@@ -20,26 +18,8 @@ export class Shape extends Path {
 	 */
 	holes: Path[];
 
-	/**
-	 * @deprecated Use {@link ExtrudeGeometry ExtrudeGeometry()} instead.
-	 */
-	extrude( options?: any ): ExtrudeGeometry;
-
-	/**
-	 * @deprecated Use {@link ShapeGeometry ShapeGeometry()} instead.
-	 */
-	makeGeometry( options?: any ): ShapeGeometry;
 	getPointsHoles( divisions: number ): Vector2[][];
 
-	/**
-	 * @deprecated Use {@link Shape#extractPoints .extractPoints()} instead.
-	 */
-	extractAllPoints(
-		divisions: number
-	): {
-		shape: Vector2[];
-		holes: Vector2[][];
-	};
 	extractPoints( divisions: number ): {
 		shape: Vector2[];
 		holes: Vector2[][];

+ 0 - 20
src/geometries/Geometries.d.ts

@@ -1,42 +1,22 @@
-export * from './BoxGeometry';
 export * from './BoxBufferGeometry';
-export * from './CircleGeometry';
 export * from './CircleBufferGeometry';
-export * from './ConeGeometry';
 export * from './ConeBufferGeometry';
-export * from './CylinderGeometry';
 export * from './CylinderBufferGeometry';
-export * from './DodecahedronGeometry';
 export * from './DodecahedronBufferGeometry';
 export * from './EdgesGeometry';
-export * from './ExtrudeGeometry';
 export * from './ExtrudeBufferGeometry';
-export * from './IcosahedronGeometry';
 export * from './IcosahedronBufferGeometry';
-export * from './LatheGeometry';
 export * from './LatheBufferGeometry';
-export * from './OctahedronGeometry';
 export * from './OctahedronBufferGeometry';
-export * from './ParametricGeometry';
 export * from './ParametricBufferGeometry';
-export * from './PlaneGeometry';
 export * from './PlaneBufferGeometry';
-export * from './PolyhedronGeometry';
 export * from './PolyhedronBufferGeometry';
-export * from './RingGeometry';
 export * from './RingBufferGeometry';
-export * from './ShapeGeometry';
 export * from './ShapeBufferGeometry';
-export * from './SphereGeometry';
 export * from './SphereBufferGeometry';
-export * from './TetrahedronGeometry';
 export * from './TetrahedronBufferGeometry';
-export * from './TextGeometry';
 export * from './TextBufferGeometry';
-export * from './TorusGeometry';
 export * from './TorusBufferGeometry';
-export * from './TorusKnotGeometry';
 export * from './TorusKnotBufferGeometry';
-export * from './TubeGeometry';
 export * from './TubeBufferGeometry';
 export * from './WireframeGeometry';