code wiki / _hdl_build / nx_wasmfps_gate.nx

nx_wasmfps_gate.nx

buildroot/runtime/_hdl_build/nx_wasmfps_gate.nx

1696 B39 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_wasmfps_gate.nx -- NATIVE eyeball check of the EXACT wasm-targeted first-person renderer: runs nx_wasmfps's render_at with base = an mmap'd region (instead of wasm linear-memory base 0) and writes PNGs. Same code path the browser will run -> verify-by-eye before compiling to wasm. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_f32_hw.nx nx_png.nx nx_wasmfps.nx nx_wasmfps_gate.nx

imports: nx_syscalls.nxnx_f32_hw.nxnx_png.nxnx_wasmfps.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 terrain_h wlat f32_div f32_of edit_delta 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 draw_col terrain_h ↻ box_corners project f32_sub f32_neg ↻ f32_of ↻ m4_vec4 f32_of ↻ f32_add ↻ f32_mul ↻ f32_int f32_mul ↻ f32_div ↻ draw_face

structs

none

consts

none

functions

9func main() -> i64