min static method

void min(
  1. Vector4 a,
  2. Vector4 b,
  3. Vector4 result
)

Set the values of result to the minimum of a and b for each line.

Implementation

static void min(Vector4 a, Vector4 b, Vector4 result) {
  result
    ..x = math.min(a.x, b.x)
    ..y = math.min(a.y, b.y)
    ..z = math.min(a.z, b.z)
    ..w = math.min(a.w, b.w);
}