Function setOne

  • Sets all elements of the 2-element vector a to one

    Parameters

    • a: Vec2

      a 2-element vector object

    Returns Vec2

    a with all elements set to one

Generated using TypeDoc