I can calculate triangle normal N by having three vertex positions of v0, v1, v2 and using cross product:
The problem is a 3D mesh data structure needs a normal for each vertex. I mean, it needs n1, n2 and n3. I don't know what is the correct way to calculate them.
Tried
I tried to use the same N value for n1, n2 and n3, but I'm not sure if it is the correct approach:
n1 = n2 = n3 = N
