Function divide

  • Divides a vector by another vector (component-wise); assumes a and b have the same length.

    Parameters

    • a: Vec4

      Operand vector.

    • b: Vec4

      Operand vector.

    • Optional dst: Vec4

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

    Returns Vec4

    The vector of quotients of entries of a and b.