nx_gltf_pose_math_t316.nx
buildroot/runtime/nx_gltf_pose_math_t316.nx
about
WASM-safe arithmetic extracted byte-for-byte from existing glTF pose and FBX bind owners.
Format parsing and file allocators remain in their owners; this adapter calls only caller-scratch math.
dependencies 1 imports · 1 importers
imports: nx_vecmath.nx
imported by: nx_gltf_pose_packet_t316.nx
structs
| none |
consts
| 4 | const GLD_I64_MAX:i64=9223372036854775807 |
| 5 | const VM_Q30:i64=1073741824 |
| 6 | const VM_Q30_BITS:i64=30 |
| 36 | const FBB_WORD: i64 = 8 |
| 37 | const FBB_MATRIX_WORDS: i64 = 16 |
| 38 | const FBB_Q: i64 = 1048576 |
| 39 | const FBB_I64_MAX: i64 = 9223372036854775807 |
| 40 | const FBB_BAD: i64 = 0 - 10 |
| 41 | const FBB_CONFLICT: i64 = 0 - 12 |
| 42 | const FBB_RANGE: i64 = 0 - 13 |
functions
| 7 | func vm_q_norm_q30(a:*i64,out:*i64,tolerance:i64)->i64 |
| 14 | func vm_q_slerp_q30(a:*i64,b:*i64,t:i64,tolerance:i64,out:*i64,scratch:*i64)->i64 |
| 43 | func fbb_compose_into(a:*i64,b:*i64,out:*i64,tmp:*i64,tmp_words:i64)->i64 |
| 90 | func gld_identity(out:*i64)->i64 {var i:i64=0;while i<16{out[i]=0;i=i+1};out[0]=FBB_Q;out[5]=FBB_Q;out[10]=FBB_Q;out[15]=FBB_Q;return 0} |