code wiki / _hdl_build / nx_fpsworld_gate.nx

nx_fpsworld_gate.nx

buildroot/runtime/_hdl_build/nx_fpsworld_gate.nx

1894 B49 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_fpsworld_gate.nx -- NATIVE first-person render check: drives nx_voxel_world in the new SP_FPS mode (camera has a world POSITION, not orbit) and writes PNGs so the build can be eyeballed BEFORE anything ships to the browser. No node, no display needed -- sovereign nx_png. Renders 3 camera setups to /Temp/fps{1,2,3}.png. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_f32_hw.nx nx_png.nx nx_voxel_world.nx nx_fpsworld_gate.nx

imports: nx_syscalls.nxnx_f32_hw.nxnx_png.nxnx_voxel_world.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 world_fb_bytes world_height terrain_h lat setcam f32_of render_world world_sky sys_mmap ↻ build_cam sys_mmap ↻ 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 draw_col terrain_h ↻ sys_mmap ↻ project sys_mmap ↻ f32_sub f32_neg ↻ f32_of ↻ fratio ↻ m4_vec4 f32_of ↻ f32_add ↻

structs

none

consts

none

functions

10func setcam(sp: *i64, cx: i64, cy: i64, cz: i64, ycos: i64, ysin: i64, pcos: i64, psin: i64) -> i64
called by 1: main calls 1: f32_of
16func main() -> i64