So I'm hoping someone could help me get a solid algorithm for finding the center of mass of 2D shape without density, based of a set of vertices.
Please explain in simple terms that a non-mathematician could understand (I have no clue how the wikipedia equation works) and easily translate into C++ code for my program! =)
Note: if it makes the algorithm any faster, the complex shapes in my program are really just a group of convex polygons which I can access.