Click or drag to resize

MathUtilsArea(Vector2, Vector2, Vector2) Method

Returns a positive number if c is to the left of the line going from a to b.

Namespace: Internal.tainicom.Aether.Physics2D.Common
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static float Area(
	Vector2 a,
	Vector2 b,
	Vector2 c
)

Parameters

a  Vector2
 
b  Vector2
 
c  Vector2
 

Return Value

Single
Positive number if point is left, negative if point is right, and 0 if points are collinear.
See Also