landmark-common 0.1.0

Common utilities and types for Landmark navigation mesh generation
Documentation

landmark-common

Common utilities and types shared by the landmark/waymark workspace crates.

Crates.io Documentation License WASM

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: MeshError for 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:

[dependencies]
landmark = "0.1"      # For navmesh generation
waymark = "0.1"       # For pathfinding

License

Dual-licensed under either: