Added basic types for ThreeJS BufferGeometryUtils and DragControls

This commit is contained in:
Ethan Kay
2018-08-07 12:53:53 -07:00
parent 73227df0fd
commit f3972aafa3
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ export * from "./three-copyshader";
export * from "./three-css3drenderer";
export * from "./three-ctmloader";
export * from "./three-ddsloader";
export * from './three-dragcontrols';
export * from "./three-editorcontrols";
export * from "./three-effectcomposer";
export * from "./three-examples";
+9
View File
@@ -1447,6 +1447,15 @@ export class Geometry extends EventDispatcher {
dispatchEvent(event: { type: string; [attachment: string]: any; }): void;
}
/**
* @see <a href="https://github.com/mrdoob/three.js/blob/master/examples/js/BufferGeometryUtils.js">examples/js/BufferGeometryUtils.js</a>
*/
export namespace BufferGeometryUtils {
export function mergeBufferGeometries(geometries: any[]): BufferGeometry;
export function computeTangents(geometry: BufferGeometry): null;
export function mergeBufferAttributes(attributes: any[]): BufferAttribute;
}
/**
* @deprecated
*/