getNormal

fun getNormal(a: Vector3, b: Vector3, c: Vector3, target: Vector3): Vector3

Computes the normal vector of a triangle.

Return

The triangle's normal.

Parameters

a

The first corner of the triangle.

b

The second corner of the triangle.

c

The third corner of the triangle.

target

The target vector that is used to store the method's result.