[][src]Crate pbrt

Re-exports

pub use float::Float;

Modules

core

The main parts of the PBRT renderer are located in sub crates of core. This top-level crate has no public functionality.

filters
float
textures

Macros

severe

Calls log::error then panic!.

Structs

Degree

Wrapper type for Float to ensure degree vs radian is clear.

Options

Options for the renderer. These are mostly passed through from commandline flags or from the configuration file parsed.

Functions

assert_almost_equal_options

Note: assert_almost_equal_options exists only for doc tests, it is not part of the pbrt API.

lerp

Linear interpolate t between v1 and v2.

quadratic

Find roots of quadratic equation, if they exist.