code wiki / _hdl_build / nx_wasmvox3d_gate.nx

nx_wasmvox3d_gate.nx

buildroot/runtime/_hdl_build/nx_wasmvox3d_gate.nx

2008 B54 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_wasmvox3d_gate.nx -- NATIVE eyeball check of the 3D voxel world: carves a pit (air cells), raises a tower (solid cells), drops floating blocks, then renders to PNG. Proves per-voxel rendering + dig + place before wasm. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_f32_hw.nx nx_png.nx nx_wasmvox3d.nx nx_wasmvox3d_gate.nx

imports: nx_syscalls.nxnx_f32_hw.nxnx_png.nxnx_wasmvox3d.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap mem_bytes setcell grid_idx terrain_h0 wlat f32_div f32_of build_R m4_roty m4_identity f32_of ↻ f32_neg fratio f32_div ↻ f32_of ↻ m4_rotx m4_identity ↻ f32_neg ↻ f32_neg ↻ m4_mul f32_of ↻ f32_add f32_mul render_at terrain_h0 ↻ solid solid_h getcell grid_idx ↻ terrain_h0 ↻ draw_voxel solid ↻ voxel_color corners project f32_sub f32_neg ↻ f32_of ↻

structs

none

consts

none

functions

9func main() -> i64