code wiki / (root) / nx_gltf_quaternion_witness_t181.nx

nx_gltf_quaternion_witness_t181.nx

buildroot/runtime/nx_gltf_quaternion_witness_t181.nx

3651 B57 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind tooltopic gltf
docsdependenciesstructsconstsfunctions

dependencies 1 imports · 0 importers

nx_gltf_accessor_candidate_t181.nx nx_gltf_quaternion_witness_t18

imports: nx_gltf_accessor_candidate_t181.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gltf_view_open sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gltf_inventory_glb gll_ru32 sys_mmap ↻ glp_reset nx_json_next nx_json_skip_ws nx_json_lit nx_ascii_is_digit cgo_value_end nx_json_next ↻ gli_array gli_member glp_reset ↻ glp_member nx_json_next ↻ glp_eq cgo_value_end ↻ glp_reset ↻ nx_json_next ↻ cgo_value_end ↻ gli_array ↻ gli_present gli_member ↻

structs

none

consts

5const VM_Q30:i64=1073741824
6const VM_Q30_BITS:i64=30

functions

7func vm_q_norm_q30(a:*i64,out:*i64,tolerance:i64)->i64
called by 1: vm_q_slerp_q30
14func vm_q_slerp_q30(a:*i64,b:*i64,t:i64,tolerance:i64,out:*i64,scratch:*i64)->i64
called by 1: main calls 1: vm_q_norm_q30
35func gp(s:*u8)->i64{sys_write(1,s,gll_slen(s));return 0}
called by 2: gnmain calls 1: gll_slen
36func gn(v:i64)->i64{let b:*u8=sys_mmap(32);var x:i64=v;var i:i64=31;if x<0{gp("-");x=0-x};if x==0{b[i]=48 as u8;i=i-1};while x>0{b[i]=(48+x%10) as u8;x=x/10;i=i-1};sys_write(1,(b as i64+i+1) as *u8,31-i);sys_munmap(b,32);return 0}
called by 1: main calls 1: gp
38func main()->i64