Trait rust_gpu_sdf::raymarch::Raymarch
source · pub trait Raymarch {
type Output;
fn raymarch<Sdf, const MAX_STEPS: u32>(
&self,
sdf: &Sdf,
start: f32,
end: f32,
eye: Vec3,
dir: Vec3,
epsilon: f32
) -> Self::Output
where
Sdf: SignedDistanceField<Vec3, Distance>;
}