Module transvoxel::density[][src]

Expand description

Density traits and storage facilities used by the extraction algorithm

Structs

ScalarFieldForFn

Wrapper for using closures as ScalarField We need the newtype wrapping because we implement ScalarField for &ScalarField too, and that would conflict without the wrapping

Traits

Density

Trait that must be implemented for a type to be used as a density by the algorithm For the moment, it has to be a Float

ScalarField

A source of “world” density (gives density for any world x,y,z coordinates)