Generates normal information from the specified positions and triangle indices.
An array of 3-dimensional vertex positions.
An array of triangle indices.
An array of 3-dimensional vertex normals.
const normals = pc.calculateNormals(positions, indices); Copy
const normals = pc.calculateNormals(positions, indices);
Generates normal information from the specified positions and triangle indices.