Skip to main content

WgslSpace

Trait WgslSpace 

Source
pub trait WgslSpace: Space {
    // Required methods
    fn wgsl_impl(&self) -> Cow<'static, str>;
    fn wgsl_accuracy(&self) -> WgslAccuracy;
}

Required Methods§

Source

fn wgsl_impl(&self) -> Cow<'static, str>

Emits loam_distance, loam_origin_distance, loam_exp, loam_log, loam_geodesic_step, and LOAM_MAX_ARC over the space’s point type.

Source

fn wgsl_accuracy(&self) -> WgslAccuracy

Implementors§