code wiki / (root) / nx_nxa_morph.nx

nx_nxa_morph.nx

buildroot/runtime/nx_nxa_morph.nx

10375 B244 linesdepth 2pulls 3 transitivereach 0 importersview sourcekind tooltopic nxa
docsdependenciesstructsconstsfunctions

about

nx_nxa_morph.nx -- FIGURE CANON morph at BAKE level (SOTA rung 2): applies the operator's proportion canon (bust-dominant hourglass: bust +25pct teardrop volume front-side, waist -8pct, hips UNCHANGED -- never enlarge glutes, no surgery-look hard edges) directly to the NXA VERT section so EVERY consumer (viewers, games, skinning) inherits it. Smooth quartic falloff bumps (integer, no exp); face side found from head-region depth extremes; face and head untouched. Run BEFORE nx_nxa_skin so auto-skin sees the final shape. usage: nx_nxa_morph <in.nxa> <out.nxa> rc: 0 ok, 2 usage, 5 bad nxa, 9 io license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_nxa.nx nx_nxa_morph.nx

imports: nx_syscalls.nxnx_nxa.nx

imported by: nobody (leaf or entry point)

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

main mw sys_write sys_mmap sys_map_file sys_openat_rd sys_lseek sys_close nxa_find nxa_magic nxa_check2 nxa_tag4 m_bump mn sys_mmap ↻ sys_write ↻ nxa_check2 ↻ sys_openat_wr sys_write ↻ sys_close ↻

structs

none

consts

12const K_MAGIC_4096: i64 = 4096
13const K_MAGIC_4611686018427387903: i64 = 4611686018427387903

functions

15func mw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
16func mn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
29func m_bump(y: i64, c: i64, w: i64) -> i64
called by 1: main
40func main(argc: i64, argv: *i64) -> i64