ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
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