ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
math
/
ktx.math
/
ImmutableVector
/
withClamp2
with
Clamp2
abstract
fun
withClamp2
(
min2
:
Float
,
max2
:
Float
)
:
T
Returns a vector of same direction and the squared length clamped between
min2
and
max2