minor changes

This commit is contained in:
2025-07-26 14:11:56 +02:00
parent 8288f647c1
commit eb6037ee27
3 changed files with 10 additions and 5 deletions

View File

@@ -1,6 +1,13 @@
#include "hologram.h"
void nn_hologram_clear() {
// safety:
// For valid indexes to be valid,
// stuff must be from 0 to limit - 1
nn_size_t nn_positionToIndex(nn_hologram *h, unsigned x, unsigned y, unsigned z) {
return x + y * h->width_x + z * h->width_x * h->height;
}
void nn_hologram_clear(nn_hologram *h) {
}