mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 03:51:16 +00:00
The writer compared the top object's patch with the one the reader makes of the written grid on an even 9 x 9 grid of places. A split side can change how the reader samples a short curve that falls between those places, so a top object could be written live although the reader would map the contents differently there. Coons::places gives the places in u and v where the patch's sides have points. Each side runs straight between them, so the writer now compares the four sides of both patches at every one of those places, within a third of the tolerance; a point inside a patch blends its sides and corners, so the patches then lie within the tolerance everywhere.