Function addMulInto

  • c = 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 c

    Parameters

    • a: Vec4

      a 4-element vector object

    • b: Vec4

      a 4-element vector object

    • s: number

      a scalar value

    • c: Vec4

      a 4-element vector in which to store the result

    Returns Vec4

    c as the result of a + b * s

Generated using TypeDoc