approximate-sdf.h 293 B

12345678910111213
  1. #pragma once
  2. #include "SDFTransformation.h"
  3. #include "Shape.h"
  4. #include "BitmapRef.hpp"
  5. namespace msdfgen {
  6. // Fast SDF approximation (out of range values not computed)
  7. void approximateSDF(const BitmapRef<float, 1> &output, const Shape &shape, const SDFTransformation &transformation);
  8. }