Set the position of a point.
Don't forget that the polygon must remain convex, and the points need to stay ordered! pointCount must be changed first in order to set the total number of points. The result is undefined if index is out of the valid range.
Index of the point to change, in range [0 .. pointCount - 1]
New position of the point
See Implementation
Set the position of a point.
Don't forget that the polygon must remain convex, and the points need to stay ordered! pointCount must be changed first in order to set the total number of points. The result is undefined if index is out of the valid range.