code wiki / (root) / nx_rigbench_motion_t21.nx

nx_rigbench_motion_t21.nx

buildroot/runtime/nx_rigbench_motion_t21.nx

6775 B161 linesdepth 3pulls 6 transitivereach 3 importersview sourcekind benchtopic rigbench
docsdependenciesstructsconstsfunctions

about

Additive rigbench temporal contract; reuse the normative NXA evaluator.

dependencies 3 imports · 2 importers

nx_syscalls.nx nx_nxa.nx nx_nxa_anim_lib.nx nx_rigbench_motion_t21.nx nx_rigbench_lib_t21.nx nx_rigbench_motion_gate_t21.nx

imports: nx_syscalls.nxnx_nxa.nxnx_nxa_anim_lib.nx

imported by: nx_rigbench_lib_t21.nxnx_rigbench_motion_gate_t21.nx

structs

none

consts

5const RBM_BYTES: i64 = 8
6const RBM_QUAT: i64 = 4
7const RBM_VERT_STRIDE: i64 = 3
8const RBM_SKIN_STRIDE: i64 = 8
9const RBM_OK: i64 = 0
10const RBM_ABSTAIN: i64 = 3
11const RBM_REFUSE: i64 = 4
12const RBM_R_JOINTS: i64 = 0
13const RBM_R_DURATION: i64 = 1
14const RBM_R_TRACKED: i64 = 2
15const RBM_R_CHANGED: i64 = 3
16const RBM_R_NONIDENTITY_A: i64 = 4
17const RBM_R_NONIDENTITY_B: i64 = 5
18const RBM_R_TIME_A: i64 = 6
19const RBM_R_TIME_B: i64 = 7
20const RBM_R_ASSET_RC: i64 = 8
21const RBM_R_CONSUMER_RC: i64 = 9
22const RBM_R_CONSUMER_MISMATCH_A: i64 = 10
23const RBM_R_CONSUMER_MISMATCH_B: i64 = 11
24const RBM_R_REASON: i64 = 12
25const RBM_R_WORDS: i64 = 13
26const RBM_REASON_NONE: i64 = 0
27const RBM_REASON_SHAPE: i64 = 1
28const RBM_REASON_NO_ANIM: i64 = 2
29const RBM_REASON_TIMES: i64 = 3
30const RBM_REASON_TRACKS: i64 = 4
31const RBM_REASON_STATIC: i64 = 5

functions

33func rb_motion_init(rep: *i64) -> i64
44func rb_motion_row_equal(a: *i64, b: *i64, nj: i64, j: i64) -> i64
60func rb_motion_nonidentity(a: *i64, nj: i64, j: i64) -> i64
called by 1: rb_motion_pair
74func rb_motion_fail(rep: *i64, rc: i64, reason: i64) -> i64
81func rb_motion_pair(anim: *i64, nw: i64, skel: *i64, nj: i64, ta: i64, tb: i64, idx: *i64, rv: *i64, a: *i64, b: *i64, scr: *i64, rep: *i64) -> i64
111func rb_motion_consumer(a: *i64,b: *i64,oa: *i64,ob: *i64,nj: i64,rep: *i64) -> i64
called by 1: main calls 1: rb_motion_row_equal
129func rb_motion_asset(b: *u8,flen: i64,ta: i64,tb: i64,max_joints: i64,rep: *i64) -> i64