max static method

void max(
  1. Vector3 a,
  2. Vector3 b,
  3. Vector3 result
)

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

Implementation

static void max(Vector3 a, Vector3 b, Vector3 result) {
  result
    ..x = math.max(a.x, b.x)
    ..y = math.max(a.y, b.y)
    ..z = math.max(a.z, b.z);
}