The trace module: contract types, layout, the triangle filter (unless
triangleFilter: null), and bvhTraceClosest / bvhTraceAny (plus their
*Masked forms unless rayMasks: false). Bindings land at traceSlot:
nodes, triangles, top level, in that order. The walk calls
bvhTrianglePasses for flagged triangles (triangle-filter.ts).
The trace module: contract types, layout, the triangle filter (unless
triangleFilter: null), andbvhTraceClosest/bvhTraceAny(plus their*Maskedforms unlessrayMasks: false). Bindings land attraceSlot: nodes, triangles, top level, in that order. The walk callsbvhTrianglePassesfor flagged triangles (triangle-filter.ts).