/** * Generates normal information from the specified positions and triangle indices. * * @param {ArrayLike} positions - An array of 3-dimensional vertex positions. * @param {ArrayLike} indices - An array of triangle indices. * @returns {number[]} An array of 3-dimensional vertex normals. * @example * const normals = calculateNormals(positions, indices); * @category Graphics */ export function calculateNormals(positions: ArrayLike, indices: ArrayLike): number[]; /** * Generates tangent information from the specified positions, normals, texture coordinates and * triangle indices. * * @param {ArrayLike} positions - An array of 3-dimensional vertex positions. * @param {ArrayLike} normals - An array of 3-dimensional vertex normals. * @param {ArrayLike} uvs - An array of 2-dimensional vertex texture coordinates. * @param {ArrayLike} indices - An array of triangle indices. * @returns {number[]} An array of 3-dimensional vertex tangents. * @example * const tangents = calculateTangents(positions, normals, uvs, indices); * @category Graphics */ export function calculateTangents(positions: ArrayLike, normals: ArrayLike, uvs: ArrayLike, indices: ArrayLike): number[];