Append one triangle that owns its three corners and its own plane normal.
A lofted quad is only planar when its two sections match, so the two halves
of a changing section's quad genuinely face different ways. Giving each
triangle its own corners is what lets each carry the normal its own plane
has, instead of one averaged direction that neither half points in.
The normal is (b - a) x (c - a) normalized, so corners in counter-clockwise
order seen from outside give an outward normal. A zero-area triangle has no
plane and receives the zero vector as its normal.
Append one triangle that owns its three corners and its own plane normal.
A lofted quad is only planar when its two sections match, so the two halves of a changing section's quad genuinely face different ways. Giving each triangle its own corners is what lets each carry the normal its own plane has, instead of one averaged direction that neither half points in.
The normal is
(b - a) x (c - a)normalized, so corners in counter-clockwise order seen from outside give an outward normal. A zero-area triangle has no plane and receives the zero vector as its normal.