Function setUnitY

  • Sets the elements of the 2D vector a so it becomes a unit vector along the y-axis

    Parameters

    • a: Vec2

      a 2-element vector object

    Returns Vec2

    a set to be a unit vector along the y-axis

Generated using TypeDoc