code wiki / _hdl_build / nx_viz_brush.nx
nx_viz_brush.nx
buildroot/runtime/_hdl_build/nx_viz_brush.nx
about
nx_viz_brush.nx -- the BRUSH math core of the INTERACTION layer (the d3-brush/d3-drag core, bits-up). A drag
from (x0,y0) to (x1,y1) defines a normalized selection rectangle; hit-test points against it. Pure integer ->
WASM-deployable. (Drag-pan reuses nx_viz_zoom vz_pan.) Closes interact-drag-brush. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_viz_brush_gate.nx
structs
| none |
consts
| none |
functions
| 7 | func vb_extent(x0: i64, y0: i64, x1: i64, y1: i64, out4: *i64) -> i64 called by 1: main |
| 16 | func vb_contains(ext4: *i64, px: i64, py: i64) -> i64 called by 1: main |
| 23 | func main() -> i64 { return 0 } |