aboutsummaryrefslogtreecommitdiff
path: root/src/sample/mod.rs
blob: 6f2c3ebe7d4980189539c6e0d904ca3d4f3743cb (plain)
1
2
3
4
5
6
7
8
9
10
11
use crate::Float;
use crate::core::Vector2f;

mod uniform;

pub use uniform::UniformSampler;

pub trait Sampler {
    fn get_sample(&mut self) -> Float;
    fn get_sample_2d(&mut self) -> Vector2f;
}