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