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

    Function addMul

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

      Parameters

      • a: Vec3

        a 3-element vector object

      • b: Vec3

        a 3-element vector object

      • s: number

        a scalar value

      Returns Vec3

      a as the result of a + b * s