Skip to main content

scenix_raycaster/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2
3//! CPU-side BVH raycasting and scene picking for scenix.
4//!
5//! This crate is renderer-agnostic. Callers provide a `SceneGraph` and a mesh
6//! geometry store, then raycasts return world-space intersections against mesh
7//! triangles.
8
9extern crate alloc;
10
11pub mod bvh;
12pub mod intersection;
13pub mod raycaster;
14
15pub use bvh::{Bvh, BvhEntry, BvhNode};
16pub use intersection::Intersection;
17pub use raycaster::{GeometryProvider, Raycaster};