Преглед на файлове

TS: Removed some Geometry/DirectGeometry references.

Mr.doob преди 4 години
родител
ревизия
b15fae2056
променени са 2 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. 0 2
      src/Three.d.ts
  2. 0 6
      src/core/BufferGeometry.d.ts

+ 0 - 2
src/Three.d.ts

@@ -32,7 +32,6 @@ export * from './textures/CubeTexture';
 export * from './textures/CanvasTexture';
 export * from './textures/DepthTexture';
 export * from './textures/Texture';
-export * from './geometries/Geometries';
 export * from './materials/Materials';
 export * from './loaders/AnimationLoader';
 export * from './loaders/CompressedTextureLoader';
@@ -104,7 +103,6 @@ export * from './core/Object3D';
 export * from './core/Raycaster';
 export * from './core/Layers';
 export * from './core/EventDispatcher';
-export * from './core/DirectGeometry';
 export * from './core/Clock';
 export * from './math/interpolants/QuaternionLinearInterpolant';
 export * from './math/interpolants/LinearInterpolant';

+ 0 - 6
src/core/BufferGeometry.d.ts

@@ -5,8 +5,6 @@ import { Matrix4 } from './../math/Matrix4';
 import { Vector2 } from './../math/Vector2';
 import { Vector3 } from './../math/Vector3';
 import { Object3D } from './Object3D';
-import { Geometry } from './Geometry';
-import { DirectGeometry } from './DirectGeometry';
 import { EventDispatcher } from './EventDispatcher';
 import { InterleavedBufferAttribute } from './InterleavedBufferAttribute';
 
@@ -123,10 +121,6 @@ export class BufferGeometry extends EventDispatcher {
 	setFromPoints( points: Vector3[] | Vector2[] ): BufferGeometry;
 	updateFromObject( object: Object3D ): void;
 
-	fromGeometry( geometry: Geometry, settings?: any ): BufferGeometry;
-
-	fromDirectGeometry( geometry: DirectGeometry ): BufferGeometry;
-
 	/**
 	 * Computes bounding box of the geometry, updating Geometry.boundingBox attribute.
 	 * Bounding boxes aren't computed by default. They need to be explicitly computed, otherwise they are null.