diff options
author | Adrian Kummerlaender | 2016-05-08 20:39:59 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2016-05-08 20:39:59 +0200 |
commit | 301c689285d49a969c335cd93132ee84ca064ddb (patch) | |
tree | 7a7106139cda86362e874e468dde9d36bda64afe /test.cc | |
parent | 21423a44d6e3091addc00c1b0769336e1f154d4e (diff) | |
download | voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar.gz voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar.bz2 voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar.lz voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar.xz voronoi-301c689285d49a969c335cd93132ee84ca064ddb.tar.zst voronoi-301c689285d49a969c335cd93132ee84ca064ddb.zip |
Adapt example to generate a Voronoi diagram for n points
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test.cc b/test.cc deleted file mode 100644 index 36f637d..0000000 --- a/test.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include <imgen.h> - -int main(int, char*[]) { - imgen::write_ppm( - "test.ppm", - 500, - 500, - [](std::size_t x, std::size_t y) -> imgen::color { - return imgen::color(255, x % 255, y % 255); - } - ); -} |