mesh-examples/12-14-mesh/Me153.mesh.json
Sources
- MeshFix `Basic_TMesh.flipNormals` Branch 4 (*neighbor_enqueue_t3*: `t3 != NULL && !IS_BIT(t3,6)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Four-spoke CW fan around a hub vertex. All four triangles have -Z normals. flipNormals propagates through all three neighbor slots (t1, t2, t3); Branch 4 fires for the t3-slot neighbor across the hub-v1 edge.
Reproducer recipe
hub=(0,0,0), v1=(1,0,0), v2=(0,1,0), v3=(-1,0,0), v4=(0,-1,0); all four fan triangles CW.
Expected kernel behavior
t3 neighbor enqueued for flipping via Branch 4 when bit 6 unset.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 0.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 0.0, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 0.0, 25 -1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 2, 33 1 34 ], 35 [ 36 0, 37 3, 38 2 39 ], 40 [ 41 0, 42 4, 43 3 44 ], 45 [ 46 0, 47 1, 48 4 49 ] 50 ], 51 "metadata": { 52 "id": "Me153", 53 "schema_version": 0, 54 "defect_class": "inverted_normals", 55 "title": "flipNormals_neighbor_enqueue_t3: t3 neighbor CW, all four-spoke fan triangles inverted", 56 "assertions": [ 57 { 58 "kind": "triangle_normal_z_negative", 59 "triangle": 0 60 }, 61 { 62 "kind": "triangle_normal_z_negative", 63 "triangle": 1 64 }, 65 { 66 "kind": "triangle_normal_z_negative", 67 "triangle": 2 68 }, 69 { 70 "kind": "triangle_normal_z_negative", 71 "triangle": 3 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 1 78 ], 79 "n": 2 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 2 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 0, 93 3 94 ], 95 "n": 2 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 0, 101 4 102 ], 103 "n": 2 104 }, 105 { 106 "kind": "edge_shared_by_n_triangles", 107 "edge": [ 108 1, 109 2 110 ], 111 "n": 1 112 }, 113 { 114 "kind": "edge_shared_by_n_triangles", 115 "edge": [ 116 2, 117 3 118 ], 119 "n": 1 120 }, 121 { 122 "kind": "edge_shared_by_n_triangles", 123 "edge": [ 124 3, 125 4 126 ], 127 "n": 1 128 }, 129 { 130 "kind": "edge_shared_by_n_triangles", 131 "edge": [ 132 1, 133 4 134 ], 135 "n": 1 136 } 137 ] 138 } 139}