aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-08 15:04:09 -0500
committerDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-08 15:04:09 -0500
commita44bcf18656062785c89e8fde25c232431b0d585 (patch)
tree5bcc3c702eb4568353c614c9b0c5d48fdbb8f223 /src/mainwindow.h
parente82bbe93fbca3fdb3d77e33bfc0b7c957fbe2f87 (diff)
camera movement
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 35498ee..986a911 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -32,6 +32,7 @@ private:
void connectzw();
void connectRotationSlider();
void connectNegativeRotation();
+ void connectW();
RayTracer *rayTracer;
AspectRatioWidget *aspectRatioWidget;
@@ -52,6 +53,8 @@ private:
QSlider *rotationSlider;
QDoubleSpinBox *rotationBox;
QCheckBox *rotateNegative;
+ QSlider *wSlider;
+ QDoubleSpinBox *wBox;
private slots:
@@ -78,4 +81,6 @@ private slots:
void updateYzSlider(double newValue);
void updateYwSlider(double newValue);
void updateZwSlider(double newValue);
+ void onValChangeWSlider(int newValue);
+ void onValChangeWBox(double newValue);
};