I'm just struggling with winding numbers algorithm. I have a homework to write a program where I have to insert points by myself of polygon and points which I'm going to investigate.
Anyway, the problem is I get a different output of sizeof(polygon) when I insert it by myself (4) than it is written in code (48). I dunno why and I'm struggling with this problem. I would be very grateful if someone could help!

Name:  Przechwytywanie.jpg
Views: 88
Size:  28.2 KB