Skip to content

[sdf] Fix sdf computation while `USE_SQUARED_DISTANCES`.

Anuj Verma requested to merge fix-sdf-squared-distances into master

Function map_fixed_to_sdf expect spread to be absolute and not squared.

  • src/sdf/ftbsdf.c (finalize_sdf): Pass absolute spread while map_fixed_to_sdf.

  • src/sdf/ftsdf.c (sdf_generate_bounding_box): Ditto.

Merge request reports