Not so sure. When I first started wearing glasses for astigmatism, it turned rectangles into trapezoids. Totally destroyed my depth perception. After a while I got used to it and stopped walking into curbs and buildings. Later in life I moved to progressive lenses. The straight lines then became curves. Adjusted after a while again, but the curves never fully went away. Regardless, I have to take the glasses off for sports that require good depth perception like ping pong or tennis.
Sometimes my depth perception goes off after getting a new pair of glasses with no prescription change, I always figured I had ended up with a different IOR poly-carbonate formulation in the lenses. But I have no idea if that can actually cause the effect.
I experience this too, and always thought it might be caused by a change in alignment of my eye and the “center” of the lens with new frames and lens shape.