Function squaredLength

  • Calculates the squared length of a vec2

    Parameters

    • a: Vec2

      vector to calculate squared length of

    Returns number

    squared length of a