flatland-pathfinding 0.2.83

Shared grid A* pathfinding for Flatland3 clients and sim
Documentation
//! Grid A* pathfinding shared by the gfx client and region sim (hired workers).

mod grid;
mod mode;
mod path;
mod session;
mod z_nav;

pub use grid::{
    circles_from_placed_containers, circles_from_views, collides_player_at, snap_nav_goal,
    terrain_cost, terrain_is_impassable, terrain_kind_view_from_id, terrain_move_speed_mult,
    NavBlockingCircle, NavWorld, TerrainKindNavParams, TerrainNavTable, DEFAULT_COST,
    DEFAULT_PLACED_PROP_BLOCK_RADIUS_M, PATH_CLEARANCE_M, PLAYER_RADIUS_M,
};
pub use mode::PathMode;
pub use path::{find_path, find_path_with_goal_z, prewarm_static_paint};
pub use session::{
    effective_move_speed_mps, PathSession, PathSteer, ARRIVE_RADIUS_M, DEX_MOVE_COEFF,
    WAYPOINT_RADIUS_M,
};
pub use z_nav::{
    cell_walkable_for_path, goal_z_for, is_walkable_at_z, transition_vertical, Z_LEVEL_TOLERANCE,
};