code wiki / (root) / nx_beach_contact_sweep.nx

nx_beach_contact_sweep.nx

buildroot/runtime/nx_beach_contact_sweep.nx

2315 B72 linesdepth 0pulls 0 transitivereach 219 importersview sourcekind librarytopic beach
docsdependenciesstructsconstsfunctions

about

Axis-aligned body sweep. Bounds and units belong to the caller's body contract. An interval is open for overlap: touching faces are contact, not penetration.

dependencies 0 imports · 27 importers

nx_beach_contact_sweep.nx nx_craft_before_placement_t316.nx nx_imported_body_registry_t40.nx nx_movement_base_engine_t139.nx nx_wasm_craft.nx nx_wasm_craft_body_t137.nx nx_wasm_craft_dunes_t70.nx nx_wasm_craft_gait_candidate_t139. nx_wasm_craft_imported_body_t41.nx nx_wasm_craft_imported_body_t42.nx nx_wasm_craft_imported_body_t49.nx

diagram shows first 10 each side; +0 more imports, +17 more importers in the complete lists below.

imports: none

imported by: nx_craft_before_placement_t316.nxnx_imported_body_registry_t40.nxnx_movement_base_engine_t139.nxnx_wasm_craft.nxnx_wasm_craft_body_t137.nxnx_wasm_craft_dunes_t70.nxnx_wasm_craft_gait_candidate_t139.nxnx_wasm_craft_imported_body_t41.nxnx_wasm_craft_imported_body_t42.nxnx_wasm_craft_imported_body_t49.nxnx_wasm_craft_imported_t262.nxnx_wasm_craft_inspection_bounds_t181.nxnx_wasm_craft_inspection_distance_t218.nxnx_wasm_craft_inspection_t142.nxnx_wasm_craft_journal_index_t21.nxnx_wasm_craft_journal_index_t21_before_t44.nxnx_wasm_craft_move_t72.nxnx_wasm_craft_pre_inspection_t142.nxnx_wasm_craft_recovery_t20.nxnx_wasm_craft_relief_adopt_t143.nxnx_wasm_craft_relief_save_t143.nxnx_wasm_craft_relief_t143.nxnx_wasm_craft_residency_t44.nxnx_wasm_craft_turn_candidate_t139.nxnx_wasm_craft_visitors_canonical_t142.nxnx_wasm_craft_visitors_inspection_t142.nxnx_wasm_craft_visitors_t140.nx

structs

3struct BeachContactBox
68struct BeachContactResult

consts

none

functions

11func beach_contact_min(box: *BeachContactBox, axis: i64) -> i64
16func beach_contact_max(box: *BeachContactBox, axis: i64) -> i64
21func beach_contact_overlap(a: *BeachContactBox, b: *BeachContactBox) -> i64
27func beach_contact_translate(box: *BeachContactBox, axis: i64, delta: i64) -> i64
called by 1: main
35func beach_contact_clip(a: *BeachContactBox, b: *BeachContactBox, axis: i64, delta: i64) -> i64