import { BufferGeometry } from './BufferGeometry'; import { BufferAttribute } from './BufferAttribute'; /** * @see examples/js/BufferGeometryUtils.js */ 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 src/core/InstancedBufferAttribute.js */ export class InstancedBufferAttribute extends BufferAttribute { constructor( array: ArrayLike, itemSize: number, normalized?: boolean, meshPerAttribute?: number ); meshPerAttribute: number; }