Function Mesh.generateNormals

Generates smooth vertex normals for the mesh based on triangle geometry. Overwrites the normals array with computed normals.

void generateNormals();