| 76 | } |
| 77 | |
| 78 | void generateSDF(const BitmapSection<float, 1> &output, const Shape &shape, const SDFTransformation &transformation, const GeneratorConfig &config) { |
| 79 | if (config.overlapSupport) |
| 80 | generateDistanceField<OverlappingContourCombiner<TrueDistanceSelector> >(output, shape, transformation); |
| 81 | else |
| 82 | generateDistanceField<SimpleContourCombiner<TrueDistanceSelector> >(output, shape, transformation); |
| 83 | } |
| 84 | |
| 85 | void generatePSDF(const BitmapSection<float, 1> &output, const Shape &shape, const SDFTransformation &transformation, const GeneratorConfig &config) { |
| 86 | if (config.overlapSupport) |
no test coverage detected