diff options
author | ccolin | 2021-01-04 15:09:38 +0100 |
---|---|---|
committer | ccolin | 2021-01-04 15:09:38 +0100 |
commit | 81108c1b0fa8f710ff7417476c10c83e70ae7a15 (patch) | |
tree | d03ba3ff458f79b104b8b62181b9775c8e035342 /src/settings_pane.hh | |
parent | 0c28d9dc80e634ebfbabed5ad446b6a4f82056e3 (diff) |
properly honor default values of sphere radius and speed limit
Diffstat (limited to 'src/settings_pane.hh')
-rw-r--r-- | src/settings_pane.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings_pane.hh b/src/settings_pane.hh index 8b92690..49fd194 100644 --- a/src/settings_pane.hh +++ b/src/settings_pane.hh @@ -22,9 +22,13 @@ class SettingsPane : public QWidget { QListWidget *collisions = nullptr; QListWidget *speeding_violations = nullptr; + double sphere_radius = .6; + double speed_limit = .5; public: SettingsPane(QWidget *parent=nullptr); + double getSphereRadius() const; + double getSpeedLimit() const; public slots: void addCollision(int idA, int idB, int frame); |