diff options
author | Adam Spragg <adam@spra.gg> | 2023-01-13 16:27:50 +0000 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2023-01-13 16:27:50 +0000 |
commit | f6e27d89f60b8d78dc6aa96724c1563fc1d74c0c (patch) | |
tree | 70fb3605331a9192fd3d1efac093f96aa094deb8 /25.c | |
parent | d3b19bd2581a62e5719a9a50a625828d6dd5bf19 (diff) |
Puzzle 22: Reorder net faces in array to match their faceid
This makes it so that, given cube face 0 is in map->faces[0] and
pointing north, cube face 1 will be in map->faces[1], cube face 2 will
be in map->faces[2], etc..., with their orientations set appropriately.
This will allow us to be able to tell where on the cube an elf is, and
where they're going if they walk off an edge.
Diffstat (limited to '25.c')
0 files changed, 0 insertions, 0 deletions