toggle menu
ktx
jvm
switch theme
search in API
math
/
ktx.math
/
ImmutableVector
/
withClamp
with
Clamp
open
fun
withClamp
(
min
:
Float
,
max
:
Float
)
:
T
Returns a vector of same direction and the length clamped between
min
and
max