Trait noise_functions::Sample3

source ·
pub trait Sample3 {
    // Required method
    fn sample3(&self, point: 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§

source

fn sample3(&self, point: impl Into<[f32; 3]>) -> f32

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Noise> Sample3 for Noise
where Noise: Sample<3, [f32; 3]>,