Function nalgebra_glm::triangle_normal
source · Expand description
The normal vector of the given triangle.
The normal is computed as the normalized vector cross(p2 - p1, p3 - p1)
.
The normal vector of the given triangle.
The normal is computed as the normalized vector cross(p2 - p1, p3 - p1)
.