My father said "unko tere taang dekhke maza ata hoga" and that's why I should cover up?

I (18f) barely leave my room, once or twice a day to get something to eat.

Today when I did the same,my father shouts at me "kitne baar bolu tujhe kuch pehenke aya kar,tu apne room mai nangi reh mai kuch nai bolunga",I was wearing shorts and a tshirt.

He then proceeds to point at my privates saying dekh kaise dikhra..(i don't understand what he wanted me to look at cause I was wearing a pad and it tbh didn't outline anything)..i was at loss of words,i was just disgusted and uncomfortable(I felt very sexualised,cause he's called me a prostitute and other slurs for getting my ears pierced), apparently some of my relatives just left after visiting my grandparents and he doesn't want them to see my 'naked body'?.. saying that they'd probably enjoy looking at my legs.

I would've went back to my room and wore a pant if I heard them,cause I don't feel that confident either and at the same time idgaf but listening to him say all that make me feel like shit was i at wrong for getting mad ?