Function normalize

  • Normalize a vec2

    Parameters

    • out: Vec2

      the receiving vector

    • a: Vec2

      vector to normalize

    Returns Vec2

    out