Merge pull request #27951 from elk941/ThreeJSBufferGeometryUtilsAndDragControls

Three js buffer geometry utils and drag controls
This commit is contained in:
Ron Buckton
2018-08-09 17:51:50 -07:00
committed by GitHub
3 changed files with 16 additions and 0 deletions
+2
View File
@@ -18,6 +18,7 @@
// Apurva Ojas <https://github.com/apurvaojas>,
// Tiger Oakes <https://github.com/NotWoods>,
// Seth Kingsley <https://github.com/sethk>
// Ethan Kay <https://github.com/elk941>
// Definitions: https://github.com//DefinitelyTyped
export * from "./three-core";
@@ -28,6 +29,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: BufferGeometry[]): BufferGeometry;
export function computeTangents(geometry: BufferGeometry): null;
export function mergeBufferAttributes(attributes: BufferAttribute[]): BufferAttribute;
}
/**
* @deprecated
*/
+5
View File
@@ -0,0 +1,5 @@
import {Camera, Object3D} from './three-core';
export class DragControls {
constructor(objects: Object3D[], camera: Camera, domElement?: HTMLElement);
}