landmark-common
Common utilities and types shared by the landmark/waymark workspace crates.
Overview
This crate provides foundational types and utilities used by landmark, waymark,
and related crates. It is not intended for direct use by end users.
Contents
- Error Types:
MeshErrorfor mesh operations (each dependent crate defines its own errors) - Math Utilities: Vector operations and geometric calculations
- Mesh Utilities: Triangle mesh processing helpers
- Debug Utilities: Visualization and debugging support
Features
std(default) - Enables file I/O operations (TriMesh::from_obj())
WASM Support
This crate is fully compatible with WebAssembly. For WASM builds, file I/O is
automatically disabled. Use TriMesh::from_obj_str() to parse OBJ content from
strings instead of files.
Usage
This crate is an internal dependency of the landmark/waymark workspace. Add the specific crate you need instead:
[]
= "0.1" # For navmesh generation
= "0.1" # For pathfinding
License
Dual-licensed under either:
- MIT License (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)