aboutsummaryrefslogtreecommitdiffstats
path: root/bin/chilbert_obj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chilbert_obj.cpp')
-rw-r--r--bin/chilbert_obj.cpp2
1 files changed, 1 insertions, 1 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]);
}