• a = a * s

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

    Parameters

    • a: Vec2

      a 2-element vector object

    • s: number

      a scalar value

    Returns Vec2

    a as the result of a * s

Generated using TypeDoc