sign

Gets the sign between 3 points.

pragma(inline, true) @nogc nothrow pure
float
sign
(
ref vec2 p1
,
ref vec2 p2
,
ref vec2 p3
)

Parameters

p1 vec2

The first point

p2 vec2

The second point

p3 vec2

The third point.

Return Value

Type: float

A float determining the sign between p1, p2 and p3.

Meta