aboutsummaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-05-08 20:39:59 +0200
committerAdrian Kummerlaender2016-05-08 20:39:59 +0200
commit301c689285d49a969c335cd93132ee84ca064ddb (patch)
tree7a7106139cda86362e874e468dde9d36bda64afe /test.cc
parent21423a44d6e3091addc00c1b0769336e1f154d4e (diff)
downloadvoronoi-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.cc12
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);
- }
- );
-}