clampPoint

fun clampPoint(point: Vector2, target: Vector2): Vector2(source)

Writes point clamped into this box's bounds into target.

Return

target.