Files
vectorcraft/crates/effects/src
dotCooCoo 7aee17deaa Tests: the 3D face-limit and gray-level smoothing tests check the same cases with small inputs
The two Extrude & Bevel tests of the faces an object's solids keep together built members
and strokes from 16,384-corner polygons until they passed MAX_OBJECT_FACES. They took
230 s and 23.5 s on CI. The solids code now reads the limit through object_face_limit(),
which tests can lower on their own thread (OBJECT_FACE_LIMIT), and both tests build
64-corner polygons against a limit of exactly three members' or three strokes' faces. The
limit is now met exactly, so the tests also check that a solid at the limit still draws.
Outside the crate's own tests, object_face_limit() is MAX_OBJECT_FACES.

The smoothing test of every pair of gray levels ran the filter on 262,144 one-pixel-pair
images, and each pass along a column started two threads. It now puts every pair in one
2-pixel-wide image and one 2-pixel-high image, so it checks the same 65,536 pairs in four
passes.
2026-11-30 05:25:15 -08:00
..
2026-11-28 08:54:16 -08:00
…