pushing this.

This commit is contained in:
Yggdrasil75
2026-01-07 14:23:51 -05:00
parent 1aa81ce65f
commit a8a528beda

View File

@@ -25,6 +25,10 @@ std::mutex PreviewMutex;
frame currentPreviewFrame; frame currentPreviewFrame;
GLuint textu = 0; GLuint textu = 0;
bool updatePreview; bool updatePreview;
struct Shared {
std::mutex mutex;
VoxelGrid grid;
};
VoxelGrid setup(defaults config) { VoxelGrid setup(defaults config) {
float threshold = 0.3 * 255; float threshold = 0.3 * 255;