started hologram

This commit is contained in:
2025-07-25 23:28:29 +02:00
parent 3d9340e81f
commit 905a5a25fa
3 changed files with 69 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
#include "hologram.h"
void nn_hologram_clear() {
}

38
src/components/hologram.h Normal file
View File

@@ -0,0 +1,38 @@
#ifndef NN_HOLOGRAM_H
#define NN_HOLOGRAM_H
#include "../neonucleus.h"
typedef struct nn_hologram {
nn_Context ctx;
nn_guard *lock;
nn_refc refc;
int pallette_len;
int* pallette_array;
int width_x;
int width_z;
int height;
float minScale;
float maxScale;
float scale;
int depth;
float min_translationX;
float max_translationX;
float translationX;
float min_translationY;
float max_translationY;
float translationY;
float min_translationZ;
float max_translationZ;
float translationZ;
int* grid; // I don't know what to call this
} nn_hologram;
#endif