code wiki / _hdl_build / nx_wasm_html_vox3d.nx
nx_wasm_html_vox3d.nx
buildroot/runtime/_hdl_build/nx_wasm_html_vox3d.nx
about
nx_wasm_html_vox3d.nx -- SOVEREIGN packager for the TRUE 3D voxel world. Emits a self-contained playable .html:
pointer-lock mouse-look + WASD + gravity/jump/fly + crosshair; L-click = break_at (dig the voxel you aim at),
R-click = place_at (drop a block in the air cell before it) -- both raycast inside wasm. JS = emitted output.
usage: nx_wasm_html_vox3d <in.wasm> <out.html>. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_base64.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func hw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 } |
| 10 | func main(argc: i64, argv: *i64) -> i64 |