VelcroPhysics
VelcroPhysics copied to clipboard
Introduce quickshapes for better performance
Polygons are generic and always calculate their normals and centroid. However, sometimes we know a shape is symmetric on both axis, we can therefore quickly just set the normals and centroid with no calculations.
To simplify things, see if we can expose those quickshapes though the factories.