Repository navigation
Commit 9bd954d
fix(examples): make ngon-triangulate's falsifier actually falsify
`--skip-triangulate` printed an error and returned 4 from its own
branch. The flag announced a failure rather than causing one, and the
handling assertions it exists to falsify never ran. It now skips the
repair and lets those assertions catch the unrepaired mesh, which
reports the real measurement (`ngons=1 tris=0 quads=4`).
The contract, the assertions and the exit codes are unchanged. Proven
identical before and after on 4.5.11 LTS, 5.1.2 and 5.2.1 LTS: default
0, --no-dissolve 3, --skip-triangulate 4.
README: adds the verified `calc_tangents` abort text, which is
byte-identical on all three binaries, a falsifier table naming what
each flag breaks, and 4.5/5.2 API links for calc_tangents,
dissolve_edges and triangulate.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>1 parent 90779ce commit 9bd954d
2 files changed
Lines changed: 42 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
25 | 57 | | |
26 | 58 | | |
27 | 59 | | |
| |||
41 | 73 | | |
42 | 74 | | |
43 | 75 | | |
44 | | - | |
| 76 | + | |
45 | 77 | | |
46 | 78 | | |
47 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
0 commit comments