geodesic 0.1.0

A Rust library for constructing and sampling 3D geometric scenes.
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

/// Specific error type for `Bvh` operations.
#[derive(Debug, Clone, Copy, Error)]
pub enum BvhError {
    #[error("Bvh must contain at least one geometry, but found none.")]
    EmptyGeometry,
    #[error("Bvh must contain at least one node, but found none.")]
    EmptyNodes,
}