Hello everyone, looking in the txt files for homework 5 I got a doubt, probably interpreting them in the wrong manner. It says for each line you got two ordered pairs of the (x,y) coordinates of the bottom left and top right corner of the rectangle(poster). For example in the first line of rectangles_1.txt we got:
10 140 80 90
And I interpret it in this way:
coords of the bottom left (x:10,y:140)
coords of the top right (x:80,y:90)
I may now have sounded pretty absurd, but my interpretation is wrong for sure: how can the top right corner be lower than the bottom left (y2<y1) ? Maybe the order is x1,x2,y1,y2?
Thank you all for the attention.
10 140 80 90
And I interpret it in this way:
coords of the bottom left (x:10,y:140)
coords of the top right (x:80,y:90)
I may now have sounded pretty absurd, but my interpretation is wrong for sure: how can the top right corner be lower than the bottom left (y2<y1) ? Maybe the order is x1,x2,y1,y2?
Thank you all for the attention.