@sstorsveen/maths - v2.0.1
    Preparing search index...

    Function addMulInto

    • c = a + b * s

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

      Parameters

      • a: Vec3

        a 3-element vector object

      • b: Vec3

        a 3-element vector object

      • s: number

        a scalar value

      • c: Vec3

        a 3-element vector in which to store the result

      Returns Vec3

      c as the result of a + b * s