Trait noise_functions::Sample2
source · pub trait Sample2 {
// Required method
fn sample2(&self, point: impl Into<[f32; 2]>) -> f32;
}
Expand description
Helper trait that provides sample2
as a shorthand for Sample<2, [f32; 2]>::sample
.
It also works for any impl Into<[f32; 2]>
.
Required Methods§
Object Safety§
This trait is not object safe.