toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Vector2D
/
Companion
/
orientation
orientation
fun
orientation
(
p1
:
Vector2D
,
p2
:
Vector2D
,
p3
:
Vector2D
,
up
:
Vector2D
=
UP
)
:
Double
< 0 left, 0 right, 0 collinear
fun
orientation
(
ax
:
Float
,
ay
:
Float
,
bx
:
Float
,
by
:
Float
,
cx
:
Float
,
cy
:
Float
,
up
:
Vector2D
=
UP
)
:
Float
fun
orientation
(
ax
:
Double
,
ay
:
Double
,
bx
:
Double
,
by
:
Double
,
cx
:
Double
,
cy
:
Double
,
up
:
Vector2D
=
UP
)
:
Double