16#ifndef AEONGAMES_CAMERA_SETTINGS_H
17#define AEONGAMES_CAMERA_SETTINGS_H
19#include "ui_CameraSettings.h"
33 CameraSettings ( QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags() );
48 void setFieldOfView (
double aFieldOfView );
51 void setNear (
double aNear );
54 void setFar (
double aFar );
57 void clicked ( QAbstractButton* aButton );
69 Ui::CameraSettings mUi;
void nearChanged(double aNear)
Emitted when the near plane changes.
void fieldOfViewChanged(double aFieldOfView)
Emitted when the field of view changes.
float GetNear() const
Get the near clipping plane distance.
~CameraSettings() override
Destructor.
float GetFar() const
Get the far clipping plane distance.
void farChanged(double aFar)
Emitted when the far plane changes.
CameraSettings(QWidget *parent=Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags())
Construct the camera settings dialog.
float GetFieldOfView() const
Get the field of view angle.
<- This is here just for the literals