nx_imported_body_registry_t40.nx
buildroot/runtime/nx_imported_body_registry_t40.nx
about
dependencies 2 imports · 16 importers
diagram shows first 10 each side; +0 more imports, +6 more importers in the complete lists below.
imports: nx_entity_store.nxnx_beach_contact_sweep.nx
imported by: nx_game_page_body_t138.nxnx_game_page_imported_body_t45.nxnx_game_page_material_body_t61.nxnx_game_page_workspace_body_t49.nxnx_game_page_workspace_body_t59.nxnx_imported_body_diagnostic_candidate_t363.nxnx_imported_body_motion_candidate_t325.nxnx_imported_body_page_t262.nxnx_imported_body_page_toggle_t275.nxnx_imported_body_registry_gate_t40.nxnx_imported_body_registry_gate_t43.nxnx_wasm_craft_body_t137.nxnx_wasm_craft_imported_body_t41.nxnx_wasm_craft_imported_body_t42.nxnx_wasm_craft_imported_body_t49.nxnx_wasm_craft_imported_t262.nx
structs
| 34 | struct ImportedBodyHit |
consts
| 6 | const IBR_MAGIC:i64=20260910040 |
| 7 | const IBR_VERSION:i64=1 |
| 8 | const IBR_HEADER:i64=4 |
| 9 | const IBR_COMPONENTS:i64=18 |
| 10 | const IBR_DOMAIN:i64=1125899906842624 |
| 11 | const IBR_BAD:i64=0-101 |
| 12 | const IBR_CAPACITY:i64=0-102 |
| 13 | const IBR_CONFLICT:i64=0-103 |
| 14 | const IBR_FUTURE:i64=0-104 |
| 15 | const IBR_SHAPE_AABB:i64=1 |
| 16 | const IBR_ID_HI:i64=0 |
| 17 | const IBR_ID_LO:i64=1 |
| 18 | const IBR_REV:i64=2 |
| 19 | const IBR_SHAPE_REV:i64=3 |
| 20 | const IBR_POSE_REV:i64=4 |
| 21 | const IBR_WORLD_X:i64=5 |
| 22 | const IBR_WORLD_Y:i64=6 |
| 23 | const IBR_WORLD_Z:i64=7 |
| 24 | const IBR_MIN_X:i64=8 |
| 25 | const IBR_MIN_Y:i64=9 |
| 26 | const IBR_MIN_Z:i64=10 |
| 27 | const IBR_MAX_X:i64=11 |
| 28 | const IBR_MAX_Y:i64=12 |
| 29 | const IBR_MAX_Z:i64=13 |
| 30 | const IBR_LAYER:i64=14 |
| 31 | const IBR_MASK:i64=15 |
| 32 | const IBR_ENABLED:i64=16 |
| 33 | const IBR_KIND:i64=17 |
functions
| 42 | func ibr_entities(arena:*i64)->*i64{return ((arena as i64)+IBR_HEADER*8) as *i64} |
| 43 | func ibr_words(cap:i64)->i64{if cap<1||cap>IBR_DOMAIN/(IBR_COMPONENTS+5){return IBR_BAD};return IBR_HEADER+en_words(cap,IBR_COMPONENTS)} |
| 44 | func ibr_ready(arena:*i64,words:i64)->i64 |
| 54 | func ibr_init(arena:*i64,words:i64,cap:i64)->i64 |
| 62 | func ibr_domain(v:i64)->i64{if v<=0-IBR_DOMAIN||v>=IBR_DOMAIN{return 0};return 1} |
| 63 | func ibr_record_valid(record:*i64,words:i64)->i64 |
| 73 | func ibr_find(arena:*i64,hi:i64,lo:i64)->i64 |
| 80 | func ibr_upsert(arena:*i64,words:i64,record:*i64,record_words:i64)->i64 |
| 101 | func ibr_read(arena:*i64,words:i64,handle:i64,record:*i64,record_words:i64)->i64 |
| 107 | func ibr_local_box(entities:*i64,handle:i64,origin_x_q8:i64,origin_z_q8:i64,out:*BeachContactBox)->i64 |
| 117 | func ibr_sweep(arena:*i64,words:i64,body:*BeachContactBox,origin_x_q8:i64,origin_z_q8:i64,axis:i64,delta_q8:i64,moving_layer:i64,moving_mask:i64,skip_handle:i64,scratch:*BeachContactBox,out:*ImportedBodyHit)->i64 called by 2: mainmain calls 12: ibr_readyibr_domainbeach_contact_minbeach_contact_maxibr_entitiesen_valid+6 |