Spaces:
Running
Running
File size: 1,343 Bytes
6cd9596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
import { BufferGeometry } from './BufferGeometry';
import { BufferAttribute } from './BufferAttribute';
/**
* @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
*/
export namespace GeometryUtils {
/**
* @deprecated Use {@link Geometry#merge geometry.merge( geometry2, matrix, materialIndexOffset )} instead.
*/
export function merge(
geometry1: any,
geometry2: any,
materialIndexOffset?: any
): any;
/**
* @deprecated Use {@link Geometry#center geometry.center()} instead.
*/
export function center(geometry: any): any;
}
/**
* @see <a href="https://github.com/mrdoob/three.js/blob/master/src/core/InstancedBufferAttribute.js">src/core/InstancedBufferAttribute.js</a>
*/
export class InstancedBufferAttribute extends BufferAttribute {
constructor(
array: ArrayLike<number>,
itemSize: number,
normalized?: boolean,
meshPerAttribute?: number
);
meshPerAttribute: number;
}
|