getDirection method

Vector3 getDirection(
  1. Vector3 result
)

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();
}