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

    Function mul

    • a = a * s

      Multiplies the 4-element vector a by the scalar s and stores the result in a

      Parameters

      • a: Vec4

        a 4-element vector object

      • s: number

        a scalar value

      Returns Vec4

      a as the result of a * s