code wiki / (root) / nx_morf_draw_core.nx

nx_morf_draw_core.nx

buildroot/runtime/nx_morf_draw_core.nx

5813 B115 linesdepth 3pulls 4 transitivereach 136 importersview sourcekind librarytopic morf
docsdependenciesstructsconstsfunctions

about

ORIGINAL. One caller-owned pre-skinning draw view; no asset parser or mood policy. Inputs are admitted immutable arrays. Outputs are DISPOSABLE scratch, valid only on nonnegative return; publish/upload their generation only after success.

dependencies 2 imports · 32 importers

nx_morf_eval_core.nx nx_vnormals_lib.nx nx_morf_draw_core.nx nx_craft_before_placement_t316.nx nx_morf_draw_asset_gate.nx nx_morf_draw_core_gate.nx nx_movement_base_engine_t139.nx nx_nxa_morf_draw_admit.nx nx_nxa_morf_draw_ingress_gate.nx nx_nxa_morf_ingress_gate.nx nx_wasm_craft.nx nx_wasm_craft_body_t137.nx nx_wasm_craft_dunes_t70.nx

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

imports: nx_morf_eval_core.nxnx_vnormals_lib.nx

imported by: nx_craft_before_placement_t316.nxnx_morf_draw_asset_gate.nxnx_morf_draw_core_gate.nxnx_movement_base_engine_t139.nxnx_nxa_morf_draw_admit.nxnx_nxa_morf_draw_ingress_gate.nxnx_nxa_morf_ingress_gate.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_morf_gate.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

12struct MrdAsset

consts

7const MRD_E_SHAPE: i64 = 0-61
8const MRD_E_ALIAS: i64 = 0-62
9const MRD_E_TRIANGLE: i64 = 0-63
10const MRD_E_NORMAL_RANGE: i64 = 0-64

functions

21func mrd_abs_difference(a: i64, b: i64) -> i64
called by 1: mrd_normal_envelope
33func mrd_normal_envelope(positions: *i64, tri: *i64, nt: i64, degree: i64) -> i64
61func mrd_prepare(a: *MrdAsset, weights: *i64, weight_words: i64, positions: *i64, position_words: i64, normals: *i64, normal_words: i64) -> i64