PrefabDrawerUtilsInsideTriangle Method
Is point inside of the triangle.
Namespace: NorthLab.PrefabDrawerAssembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
public static bool InsideTriangle(
Vector2 A,
Vector2 B,
Vector2 C,
Vector2 P
)
- 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.
Boolean