Skip to content

new vec utils function for normal vectors for triangles

Choose a tag to compare

@andy-beer andy-beer released this 08 Jan 07:29
· 135 commits to master since this release
78bdf9d

This patch adds a new njit function to the olio.vector_utilities package: triangles_normal_vectors(). The new function takes a (triangles, points) pair representation of a triangulated set and returns an array holding a normal vector for each of the triangles.