src/glcamera.h

changeset 1140
c5791a3aa1ba
parent 1134
daa9808d626e
child 1151
0eddb5bcf25b
equal deleted inserted replaced
1139:51303023d651 1140:c5791a3aa1ba
39 { 39 {
40 Q_OBJECT 40 Q_OBJECT
41 41
42 public: 42 public:
43 // This is used to construct the free camera 43 // This is used to construct the free camera
44 enum FreeToken { FreeCamera }; 44 enum { FreeCamera };
45 45
46 GLCamera(QString name, FixedCameraParameters&& bag); 46 GLCamera(QString name, FixedCameraParameters&& bag);
47 GLCamera(QString name, FreeToken); 47 GLCamera(QString name, decltype(FreeCamera));
48 48
49 Axis axisX() const; 49 Axis axisX() const;
50 Axis axisY() const; 50 Axis axisY() const;
51 Axis axisZ() const; 51 Axis axisZ() const;
52 Vertex convert2dTo3d(const QPoint& pos2d, Grid* grid = nullptr) const; 52 Vertex convert2dTo3d(const QPoint& pos2d, Grid* grid = nullptr) const;

mercurial