pub trait NoiseDomain<Arg>: Noise {
fn noise(&self, arg: Arg) -> Self::Value;
}
Expand description
A domain over which a noise function operates.
Get the value of the noise at a particular ‘location’.
sourceimpl<Arg, Inner, InScale: Copy, OutScale: Copy> NoiseDomain<Arg> for ScaleNoise<Inner, InScale, OutScale> where
Arg: Mul<InScale>,
Inner: NoiseDomain<Arg::Output>,
Inner::Value: Mul<OutScale>,
sourceimpl<Value: Copy, const N: usize> NoiseDomain<Matrix<Value, N, 1_usize>> for Gradient<Value, N> where
Vector<Value, N>: Dot<Output = Value>,