Function addMul

  • a = a + b * s

    Adds the 4-element vector b multiplied by the scalar s to the 4-element vector a and stores the result in a

    Parameters

    • a: Vec4

      a 4-element vector object

    • b: Vec4

      a 4-element vector object

    • s: number

      a scalar value

    Returns Vec4

    a as the result of a + b * s

Generated using TypeDoc