ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
math
/
ktx.math
/
withRotationDeg
with
Rotation
Deg
inline
fun
ImmutableVector2
.
withRotationDeg
(
angle
:
Float
)
:
ImmutableVector2
Returns a vector of same length rotated by the given
angle
in degree