mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #27951 from elk941/ThreeJSBufferGeometryUtilsAndDragControls
Three js buffer geometry utils and drag controls
This commit is contained in:
Vendored
+2
@@ -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";
|
||||
|
||||
Vendored
+9
@@ -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
|
||||
*/
|
||||
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import {Camera, Object3D} from './three-core';
|
||||
|
||||
export class DragControls {
|
||||
constructor(objects: Object3D[], camera: Camera, domElement?: HTMLElement);
|
||||
}
|
||||
Reference in New Issue
Block a user