Okay, I have a programming assignment, cyrus-beck algorithm. This algorithm needs normal vector
that point to inside any convex polygon.
Now i just in checking function, checks whether the point is inside or outside the edge.
This question tell me how to calculate the normal vector, but it gives me two results. and I still struggling to choose which vector should I use.
what is criteria of normal vector that point to inside the polygon?
Is there any a formula / way to calculate normal (point to inside) for any edge in polygon?
Please go easy with the explanation, because I don't really understand about vector and math stuff.