remesh 0.0.5

Isotropic remeshing library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2025 lacklustr@protonmail.com https://github.com/eadf

#[derive(Debug)]
/// The error type thrown when an error is detected, typically when a NaN or infinite vertex value
/// is detected.
pub struct RemeshError(pub String);

impl std::fmt::Display for RemeshError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "Remesh error occurred: {}", self.0)
    }
}
impl std::error::Error for RemeshError {}