Crate ray_tracing_in_one_weekend[−][src]
Re-exports
pub use vec::*; | |
pub use ray::*; | |
pub use hittable::*; | |
pub use camera::*; | |
pub use material::*; |
Modules
camera | |
hittable | |
material | |
ray | |
vec |
Structs
StdRng | The standard RNG. The PRNG algorithm in |
ThreadRng | A reference to the thread-local generator |
Constants
INFINITY | |
PI | Archimedes’ constant (π) |
Traits
CryptoRng | A marker trait used to indicate that an |
Distribution | Types (distributions) that can be used to create a random instance of |
IteratorRandom | Extension trait on iterators, providing random sampling methods. |
Rng | An automatically-implemented extension trait on |
RngCore | The core of a random number generator. |
SeedableRng | A random number generator that can be explicitly seeded. |
SliceRandom | Extension trait on slices, providing random mutation and sampling methods. |
Functions
degree_to_radians | |
random | Generates a random value using the thread-local random number generator. |
random_float | |
random_float_with_range | |
thread_rng | Retrieve the lazily-initialized thread-local random number generator,
seeded by the system. Intended to be used in method chaining style,
e.g. |