未验证 提交 6791c8f8 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #17440 from takahirox/CleanupGeometryTS

Cleanup Geometry and DirectGeometry TS
......@@ -5,13 +5,11 @@ import { Vector4 } from './../math/Vector4';
import { Box3 } from './../math/Box3';
import { Sphere } from './../math/Sphere';
import { Geometry } from './Geometry';
import { Event } from './Face3';
import { EventDispatcher } from './EventDispatcher';
import { MorphTarget } from './Geometry';
/**
* @see <a href="https://github.com/mrdoob/three.js/blob/master/src/core/DirectGeometry.js">src/core/DirectGeometry.js</a>
*/
export class DirectGeometry extends EventDispatcher {
export class DirectGeometry {
constructor();
......@@ -43,10 +41,4 @@ export class DirectGeometry extends EventDispatcher {
fromGeometry( geometry: Geometry ): DirectGeometry;
dispose(): void;
// EventDispatcher mixins
addEventListener( type: string, listener: ( event: Event ) => void ): void;
hasEventListener( type: string, listener: ( event: Event ) => void ): boolean;
removeEventListener( type: string, listener: ( event: Event ) => void ): void;
dispatchEvent( event: { type: string; [attachment: string]: any } ): void;
}
import { Vector3 } from './../math/Vector3';
import { Color } from './../math/Color';
import { Face3, Event } from './Face3';
import { Face3 } from './Face3';
import { Vector2 } from './../math/Vector2';
import { Vector4 } from './../math/Vector4';
import { Box3 } from './../math/Box3';
......@@ -252,10 +252,4 @@ export class Geometry extends EventDispatcher {
animation: AnimationClip;
animations: AnimationClip[];
// EventDispatcher mixins
addEventListener( type: string, listener: ( event: Event ) => void ): void;
hasEventListener( type: string, listener: ( event: Event ) => void ): boolean;
removeEventListener( type: string, listener: ( event: Event ) => void ): void;
dispatchEvent( event: { type: string; [attachment: string]: any } ): void;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册