mirror of https://github.com/Chlumsky/msdfgen.git
14 lines
293 B
C++
14 lines
293 B
C++
|
|
#pragma once
|
|
|
|
#include "SDFTransformation.h"
|
|
#include "Shape.h"
|
|
#include "BitmapRef.hpp"
|
|
|
|
namespace msdfgen {
|
|
|
|
// Fast SDF approximation (out of range values not computed)
|
|
void approximateSDF(const BitmapRef<float, 1> &output, const Shape &shape, const SDFTransformation &transformation);
|
|
|
|
}
|