cleaned up

This commit is contained in:
Efi Fogel 2024-03-12 13:45:12 +02:00
parent 9f226f56dd
commit 6164b2c4a3
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ void GUI_country_pick_handler::mouse_press_event(QMouseEvent* e) {
// handle country selection
if (e->button() == Qt::RightButton) {
auto p = e->pos();
QVector3D sp0(p.x(), m_vp_height - p.y(), 0);
QVector3D sp1(p.x(), m_vp_height - p.y(), 1);
QVector3D sp0(p.x(), m_vp_height - p.y(), 0);
QVector3D sp1(p.x(), m_vp_height - p.y(), 1);
auto proj = m_camera.get_projection_matrix();
auto view = m_camera.get_view_matrix();