menu
three_dart package
documentation
three3d/math/box2.dart
Box2
clampPoint method
clampPoint method
dark_mode
light_mode
clampPoint
method
Vector2
clampPoint
(
Vector2
point
,
Vector2
target
)
Implementation
Vector2 clampPoint(Vector2 point, Vector2 target) { return target.copy(point).clamp(min, max); }
three_dart package
documentation
three3d/math/box2
Box2
clampPoint method
Box2 class