Function length

  • Calculates the length of a vec2

    Parameters

    • a: Vec2

      vector to calculate length of

    Returns number

    length of a