nx_nxa_garment.nx
buildroot/runtime/nx_nxa_garment.nx
about
nx_nxa_garment.nx -- FITTED GARMENT GENERATOR (SOTA garment rung): builds a dress mesh
fitted to the character BY MEASUREMENT (per-row body cross-section radii sampled from
VERT + ease margin -- tooling, per-character, no hand constants beyond the ease profile),
from underbust to mid-thigh with hem flare. Appends GVRT (rest verts, mesh space), GTRI,
GPIN (top-ring verts pinned; viewer binds pins to the chest frame). The viewer sims it
with general edge-list XPBD -- the same machinery future GarmentCode ingests will use.
usage: nx_nxa_garment <in.nxa> <out.nxa>
rc: 0 ok, 2 usage, 5 bad nxa, 9 io
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_nxa.nxnx_itrig.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
| 13 | const K_MAGIC_4611686018427387903: i64 = 4611686018427387903 |
| 14 | const K_MAGIC_4096: i64 = 4096 |
| 15 | const K_MAGIC_100000000: i64 = 100000000 |
| 16 | const K_MAGIC_65536: i64 = 65536 |
| 18 | const GU: i64 = 36 // columns around the body |
| 19 | const GV: i64 = 18 // rows above-bust..hem (one-layer strapless dress) |
functions
| 21 | func gw9(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 22 | func gn9(v: i64) -> i64 |
| 34 | func main(argc: i64, argv: *i64) -> i64 |