pushing this.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user