menu
openworld package
documentation
three_dart/three3d/math/index.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); }
openworld package
documentation
three_dart/three3d/math/index
Box2
clampPoint method
Box2 class