getDirection method
Computes the direction of this half edge. The method assumes the half edge has a valid reference to a previous half edge.
Implementation
Vector3 getDirection(Vector3 result ) {
return result.subVectors( vertex, prev!.vertex ).normalize();
}