toggle menu
ktx
jvm
switch theme
search in API
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