nx_mhtarget.nx
buildroot/runtime/nx_mhtarget.nx
about
nx_mhtarget.nx -- CLI: MakeHuman morph-target structural facts. nx_mhtarget probe|decode <f.target>
The CC0 licence-clean dialect beside nx_kkfacts and nx_bspfacts (/compare/koikatsu card-class
lane). Facts + the first rows' vertex offsets in MICRO units; whole-file decode totals printed,
rows shown capped so a 1675-row corpus is a summary, not a dump.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_mhtarget_lib.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
| 9 | const MHC_CAP: i64 = 33554432 // targets measure KBs; 32MB refuse-beyond bound -- census abstains, never truncates silently |
| 10 | const MHC_MAX_ROWS: i64 = 65536 // the base mesh has ~19k vertices; 64k is the refuse-beyond bound |
| 11 | const MHC_SHOW: i64 = 6 // rows printed by decode; the totals carry the population |
functions
| 13 | func mc_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 14 | func mc_w(s: *u8) -> i64 { sys_write(1, s, mc_slen(s)); return 0 } |
| 15 | func mc_e(s: *u8) -> i64 { sys_write(2, s, mc_slen(s)); return 0 } |
| 16 | func mc_num(v: i64) -> i64 |
| 29 | func mc_eq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: main |
| 31 | func main(argc: i64, argv: *i64) -> i64 |