MathKit
Toggle table of contents
2.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
MathKit
MathKit
/
com.sztorm.mathkit
/
Vector2I
/
coerceIn
coerce
In
inline
fun
coerceIn
(
minimum
:
Vector2I
,
maximum
:
Vector2I
)
:
Vector2I
Returns a vector composed of
x
and
y
components coerced to specified range of
minimum
..
maximum
.