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

    Function of

    • Creates a new 2-element vector object initialized with the given values

      Parameters

      • x: number

        the first element

      • y: number

        the second element

      Returns Vec2

      the new 2-element vector object