From 1bee9c67e5a6fd8dab08d93dfbb0869052b89aa1 Mon Sep 17 00:00:00 2001
From: Julius Nehring-Wirxel <julius.nehring-wirxel@rwth-aachen.de>
Date: Thu, 13 Mar 2025 13:57:43 +0100
Subject: [PATCH] Disable broken ctor for MSVC

---
 viewer/glow-extras/viewer/configure.hh | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/viewer/glow-extras/viewer/configure.hh b/viewer/glow-extras/viewer/configure.hh
index a76ece6..88239e5 100644
--- a/viewer/glow-extras/viewer/configure.hh
+++ b/viewer/glow-extras/viewer/configure.hh
@@ -97,16 +97,17 @@ struct orthogonal_projection
 {
     tg::aabb3 bounds;
 
-    constexpr explicit orthogonal_projection(float left, float right, float bottom, float top, float near, float far)
-    {
-        this->bounds.min.x = left;
-        this->bounds.min.y = bottom;
-        this->bounds.min.z = near;
-
-        this->bounds.max.x = right;
-        this->bounds.max.y = top;
-        this->bounds.max.z = far;
-    }
+    // NOTE: Currently does not work for MSVC
+    // constexpr explicit orthogonal_projection(float left, float right, float bottom, float top, float near, float far)
+    // {
+    //     this->bounds.min.x = left;
+    //     this->bounds.min.y = bottom;
+    //     this->bounds.min.z = near;
+
+    //     this->bounds.max.x = right;
+    //     this->bounds.max.y = top;
+    //     this->bounds.max.z = far;
+    // }
 
     constexpr explicit orthogonal_projection(tg::aabb3 const& bounds) : bounds(bounds) {}
 };
-- 
GitLab