code wiki / (root) / nx_nxa_rig_motion_20260909.nx

nx_nxa_rig_motion_20260909.nx

buildroot/runtime/nx_nxa_rig_motion_20260909.nx

3283 B67 linesdepth 2pulls 2 transitivereach 38 importersview sourcekind librarytopic nxa
docsdependenciesstructsconstsfunctions

about

Caller-owned native rig composition extracted from nx_nxa_retarget, 2026-09-09. Inputs are admitted parent-first identity-bind rigs in the SAME target raw basis. No allocator, shared writable arena, entity count, or joint ceiling. q/d source inputs are immutable; outputs W(nt*4), P(nt*3), tdt(nt*3) must be disjoint. scratch requires NRM_SCR_W words. Validate owned spans at the external context boundary.

dependencies 1 imports · 3 importers

nx_nxa_fk.nx nx_nxa_rig_motion_20260909.nx nx_gate_rig_motion_20260909.nx nx_gate_rig_motion_palette_t140.nx nx_nxa_rig_motion_stream.nx

imports: nx_nxa_fk.nx

imported by: nx_gate_rig_motion_20260909.nxnx_gate_rig_motion_palette_t140.nxnx_nxa_rig_motion_stream.nx

structs

none

consts

7const NRM_Q12: i64 = 4096
8const NRM_SCR_W: i64 = 32

functions

9func nrm_q(p: *i64, i: i64) -> *i64 { return ((p as i64) + i*32) as *i64 }
called by 1: nrm_compose
10func nrm_compose(ns: i64, nt: i64, sD: *i64, sdt: *i64, map: *i64, tpar: *i64, tbind: *i64, bdst: *i64, bound: i64, sse: i64, tse: i64, W: *i64, P: *i64, tdt: *i64, scratch: *i64) -> i64