Function min

  • Return min values of two vectors. Given vectors a and b returns [min(a[0], b[0]), min(a[1], b[1]), min(a[2], b[2])].

    Parameters

    • a: Vec2

      Operand vector.

    • b: Vec2

      Operand vector.

    • Optional dst: Vec2

      vector to hold result. If not passed in a new one is created.

    Returns Vec2

    The min components vector.