openrndr
0.1.0-dev.1+332c3d9
common
openrndr-shape
/
org.openrndr.shape
/
clamp
clamp
common
fun
Vector2
.
clamp
(
bounds
:
Rectangle
)
:
Vector2
Content copied to clipboard
Clamps a
Vector2
within the bounds of the
bounds
Rectangle
.
Sources
common source
Link copied to clipboard