PrefabDrawerUtilsInsideTriangle Method

Is point inside of the triangle.

Definition

Namespace: NorthLab.PrefabDrawer
Assembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
C#
public static bool InsideTriangle(
	Vector2 A,
	Vector2 B,
	Vector2 C,
	Vector2 P
)

Parameters

A  Vector2
A point of the triangle.
B  Vector2
B point of the triangle.
C  Vector2
C point of the triangle.
P  Vector2
Point position.

Return Value

Boolean

See Also