22 lines
517 B
Rust
22 lines
517 B
Rust
#![allow(unused_imports, dead_code)]
|
|
#![feature(allocator_api)]
|
|
#![feature(associated_type_defaults)]
|
|
#![no_std]
|
|
extern crate alloc;
|
|
|
|
pub mod bxdfs;
|
|
pub mod cameras;
|
|
pub mod core;
|
|
#[cfg(not(target_arch = "spirv"))]
|
|
pub mod data;
|
|
pub mod filters;
|
|
pub mod lights;
|
|
pub mod materials;
|
|
pub mod shapes;
|
|
pub mod spectra;
|
|
pub mod textures;
|
|
pub mod utils;
|
|
|
|
pub use core::pbrt::*;
|
|
pub use utils::alloc::{gbox, gvec, gvec_from_slice, gvec_with_capacity, leak, GBox, GVec};
|
|
pub use utils::{Array2D, PBRTOptions, Ptr, Transform};
|