Optimized algorithm for searching for triangles that share a vertex when calculating vertex normals.