normalVector function

Vector3 normalVector(
  1. Vector3 a,
  2. Vector3 b,
  3. Vector3 c
)

Calcunormal vector

Implementation

Vector3 normalVector(Vector3 a, Vector3 b, Vector3 c) {
  return (b - a).cross(c - a).normalized();
}