implemented some more controls

This commit is contained in:
djaidjai committed 2025-01-11 17:54:01 +01:00
1 parent dc0175f88a
commit 9c7dd45858
7 files changed
+68 -30

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@
static float* d_volume = nullptr;
// FIXME: segfaults on window resize - the raycasting function should work with window->w and window-h instead of constants.
// FIXME: segfaults on window resize - the problem is _not_ in the raycasting function
// TODO: general
// * very similarly - actual code for loading new data as the simulation progresses - right now its effectively a static image loader * pause button once that dataloading is implemented
@@ -116,7 +116,7 @@ int main() {
copyConstantsToDevice();
// Create the GUI
Window window(IMAGE_WIDTH, IMAGE_HEIGHT);
Window window(INITIAL_WINDOW_WIDTH, INITIAL_WINDOW_HEIGHT);
int out = window.init(d_volume);
// memory management
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.