I am trying to implement the giftwrapping algorithm on a set of points to find their convex hull.
It says that the next point in the convex hull is the leftmost point (this is from wikipedia) from the point of view of the last point found. However, I'm not sure as to how you are supposed to find the second point because you only have one point so far.
If the last point found is p' and the one before p' is p'', I thought the newest point would be point p that forms the largest angle with vector (p'',p'). However, when finding the second point, we do not have a p''.