clamp method

  1. @override
void clamp(
  1. Vector2 min,
  2. Vector2 max
)
override

Clamp each entry n in this in the range [minn]-[maxn].

Implementation

@override
void clamp(Vector2 min, Vector2 max) {
  super.clamp(min, max);
  notifyListeners();
}