littlekt
0.6.0
common
core
/
com.lehaine.littlekt.math.geom
/
Angle
/
Companion
Companion
object
Companion
Functions
Properties
Functions
between
Link copied to clipboard
inline
fun
between
(
x0
:
Double
,
y0
:
Double
,
x1
:
Double
,
y1
:
Double
)
:
Angle
inline
fun
between
(
x0
:
Float
,
y0
:
Float
,
x1
:
Float
,
y1
:
Float
)
:
Angle
inline
fun
between
(
x0
:
Int
,
y0
:
Int
,
x1
:
Int
,
y1
:
Int
)
:
Angle
cos01
Link copied to clipboard
inline
fun
cos01
(
ratio
:
Double
)
:
Double
degrees
To
Radians
Link copied to clipboard
inline
fun
degreesToRadians
(
degrees
:
Float
)
:
Float
from
Degrees
Link copied to clipboard
inline
fun
fromDegrees
(
degrees
:
Double
)
:
Angle
inline
fun
fromDegrees
(
degrees
:
Float
)
:
Angle
inline
fun
fromDegrees
(
degrees
:
Int
)
:
Angle
from
Radians
Link copied to clipboard
inline
fun
fromRadians
(
radians
:
Double
)
:
Angle
inline
fun
fromRadians
(
radians
:
Float
)
:
Angle
inline
fun
fromRadians
(
radians
:
Int
)
:
Angle
long
Distance
To
Link copied to clipboard
inline
fun
longDistanceTo
(
from
:
Angle
,
to
:
Angle
)
:
Angle
radians
To
Degrees
Link copied to clipboard
inline
fun
radiansToDegrees
(
radians
:
Float
)
:
Float
short
Distance
To
Link copied to clipboard
inline
fun
shortDistanceTo
(
from
:
Angle
,
to
:
Angle
)
:
Angle
sin01
Link copied to clipboard
inline
fun
sin01
(
ratio
:
Double
)
:
Double
tan01
Link copied to clipboard
inline
fun
tan01
(
ratio
:
Double
)
:
Double
Properties
ZERO
Link copied to clipboard
val
ZERO
:
Angle