pbrt/src/shapes/mod.rs
2026-01-18 16:29:27 +00:00

16 lines
390 B
Rust

pub mod bilinear;
pub mod curves;
pub mod cylinder;
pub mod disk;
pub mod mesh;
pub mod mesh;
pub mod sphere;
pub mod triangle;
// pub use bilinear::*;
pub use mesh::*;
use std::sync::{Arc, Mutex};
pub static ALL_TRIANGLE_MESHES: Mutex<Vec<Arc<TriangleMeshHost>>> = Mutex::new(Vec::new());
pub static ALL_TRIANGLE_MESHES: Mutex<Vec<Arc<BilinearPatchMeshHost>>> = Mutex::new(Vec::new());