Skip to main content

qualia_core_db/render/water_surface/
mod.rs

1//! Caller-buffered shoreline attributes for native open water meshes.
2mod shoreline;
3mod spatial;
4pub use shoreline::{
5    shore_distance_into, shore_topology_into, ShoreError, ShoreReceipt, ShoreTopology,
6};
7pub use spatial::{shore_distance_accelerated_into, spatial_working_bytes, ShoreSpatialScratch};
8pub const ALLOCATION_CLASS:crate::specialized_libs::computational_geometry::capability_manifests::AllocationClass=
9    crate::specialized_libs::computational_geometry::capability_manifests::AllocationClass::HotZeroHeap;
10/// The optional spatial builder delegates to the native bounded cold BVH
11/// lifecycle; nearest-edge traversal itself stays allocation-free.
12pub const SPATIAL_BUILD_ALLOCATION_CLASS:crate::specialized_libs::computational_geometry::capability_manifests::AllocationClass=
13    crate::specialized_libs::computational_geometry::capability_manifests::AllocationClass::ColdBounded;
14#[cfg(test)]
15mod spatial_tests;
16#[cfg(test)]
17mod tests;