isFrontFacing

fun isFrontFacing(direction: Vector3): Boolean

Returns true if the triangle is oriented towards the given direction.

Return

Whether the triangle is oriented towards the given direction or not.

Parameters

direction

The (normalized) direction vector.