min method Null safety
Set the values of result
to the minimum of a
and b
for each line.
Implementation
static void min(Vector2 a, Vector2 b, Vector2 result) {
result
..x = math.min(a.x, b.x)
..y = math.min(a.y, b.y);
}
Set the values of result
to the minimum of a
and b
for each line.
static void min(Vector2 a, Vector2 b, Vector2 result) {
result
..x = math.min(a.x, b.x)
..y = math.min(a.y, b.y);
}