clay-core 0.1.3

Core functionality for Clay - fast, modular and extendable ray tracer
Documentation
1
2
3
4
5
6
7
8
9
10
use std::collections::HashSet;
use crate::Store;


/// Background of the scene.
///
/// It defines that happens to the ray is it hasn't hit any object in the scene.
pub trait Background: Store {
    fn source(cache: &mut HashSet<u64>) -> String;
}