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

    Function mul

    • a = a * s

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

      Parameters

      • a: Vec3

        a 3-element vector object

      • s: number

        a scalar value

      Returns Vec3

      a as the result of a * s