diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chilbert_obj.cpp | 2 | ||||
-rw-r--r-- | bin/chilbert_svg.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/chilbert_obj.cpp b/bin/chilbert_obj.cpp index 85fe95a..0f31fbd 100644 --- a/bin/chilbert_obj.cpp +++ b/bin/chilbert_obj.cpp @@ -39,7 +39,7 @@ main(int argc, char** argv) // Vertices for (uint64_t i = 0; i < num_points; ++i) { std::array<uint32_t, 3> point; - chilbert::index_to_coords(point.data(), 16, 3, i); + chilbert::index_to_coords(point, 16, 3, i); printf("v %u %u %u\n", point[0], point[1], point[2]); } diff --git a/bin/chilbert_svg.cpp b/bin/chilbert_svg.cpp index 1151a1a..dd4a3d4 100644 --- a/bin/chilbert_svg.cpp +++ b/bin/chilbert_svg.cpp @@ -52,7 +52,7 @@ main(int argc, char** argv) // One polyline through all vertices for (uint64_t i = 0; i <= num_points; ++i) { std::array<uint32_t, 2> point; - chilbert::index_to_coords(point.data(), 32, 2, i); + chilbert::index_to_coords(point, 32, 2, i); printf("%u,%u ", point[0], point[1]); } |