/** * @param {BufferAttribute} attribute * @return {BufferAttribute} */ export function deepCloneAttribute(attribute: BufferAttribute): BufferAttribute; export function deinterleaveAttribute(attribute: any): BufferAttribute; export function deinterleaveGeometry(geometry: any): void; import { BufferAttribute } from 'three'; export function computeMikkTSpaceTangents(geometry: any, MikkTSpace: any, negateSign?: boolean): any; /** * @param {Array} geometries * @param {boolean} useGroups * @return {BufferGeometry} */ export function mergeGeometries(geometries: Array, useGroups?: boolean): BufferGeometry; /** * @param {Array} attributes * @return {BufferAttribute} */ export function mergeAttributes(attributes: Array): BufferAttribute; /** * @param {Array} attributes * @return {Array} */ export function interleaveAttributes(attributes: Array): Array; /** * @param {BufferGeometry} geometry * @return {number} */ export function estimateBytesUsed(geometry: BufferGeometry): number; /** * @param {BufferGeometry} geometry * @param {number} tolerance * @return {BufferGeometry} */ export function mergeVertices(geometry: BufferGeometry, tolerance?: number): BufferGeometry; /** * @param {BufferGeometry} geometry * @param {number} drawMode * @return {BufferGeometry} */ export function toTrianglesDrawMode(geometry: BufferGeometry, drawMode: number): BufferGeometry; /** * Calculates the morphed attributes of a morphed/skinned BufferGeometry. * Helpful for Raytracing or Decals. * @param {Mesh | Line | Points} object An instance of Mesh, Line or Points. * @return {Object} An Object with original position/normal attributes and morphed ones. */ export function computeMorphedAttributes(object: Mesh | Line | Points): Object; export function mergeGroups(geometry: any): any; /** * Modifies the supplied geometry if it is non-indexed, otherwise creates a new, * non-indexed geometry. Returns the geometry with smooth normals everywhere except * faces that meet at an angle greater than the crease angle. * * @param {BufferGeometry} geometry * @param {number} [creaseAngle] * @return {BufferGeometry} */ export function toCreasedNormals(geometry: BufferGeometry, creaseAngle?: number): BufferGeometry; import { BufferGeometry } from 'three'; import { InterleavedBufferAttribute } from 'three';