scenix-raycaster 1.3.0

CPU-side BVH raycasting and scene picking for scenix.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(not(feature = "std"), no_std)]

//! CPU-side BVH raycasting and scene picking for scenix.
//!
//! This crate is renderer-agnostic. Callers provide a `SceneGraph` and a mesh
//! geometry store, then raycasts return world-space intersections against mesh
//! triangles.

extern crate alloc;

pub mod bvh;
pub mod intersection;
pub mod raycaster;

pub use bvh::{Bvh, BvhEntry, BvhNode};
pub use intersection::Intersection;
pub use raycaster::{GeometryProvider, Raycaster};