code wiki / _hdl_build / nx_autorig_gate.nx
nx_autorig_gate.nx
buildroot/runtime/_hdl_build/nx_autorig_gate.nx
about
nx_autorig_gate.nx -- prove AUTO-RIG + physics-param EMIT works on every generated object (no per-object
hand-authoring). T1 all 8 t2mesh objects rig: spanning tree (bones == parts-1), 0 forced joins, masses > 0.
T2 rigs VARY by object (>=5 distinct bone counts). T3 person: 18 parts / 17 bones and the derived root IS
the hips (largest volume = pelvis-style root, like real rigs) + every bone has positive length. T4
determinism (two builds byte-identical). T5 NXRG1 pack round-trip + corrupt-reject + person.nxrg written.
T6 physical sensibility: dumbbell weights equal mass, heavier than the bar. license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_sdfrender.nxnx_t2mesh.nxnx_autorig.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
| 12 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 13 | func pn(v: i64) -> i64 |
| 25 | func rg_parent(bones: *i64, nb: i64, child: i64) -> i64 called by 1: main |
| 31 | func rg_one(base: i64, bones: *i64, masses: *i64, soft: *i64, out: *i64, prompt: *u8, failp: *i64) -> i64 |
| 47 | func main() -> i64 |