Closed marcocisternino closed 1 year ago
I've added some comments.
On a second though, the code can be simplified: if the normal is re-normalized, there is no need to divede it by surfaceArea.
The branch "ai.element.eval.normal" contains a simplified version.
The return vector must be normalized to assure to be a versor.