From 71c5501ef0708c016eeab4e3672c11a60df2f60c Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 24 Oct 2021 16:20:52 -0600 Subject: [PATCH] qvec: revert plane3::operator- change. not worth trying to maintain all of the inconsistent special cases of the old code. --- include/common/qvec.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common/qvec.hh b/include/common/qvec.hh index c41c632c..8678129f 100644 --- a/include/common/qvec.hh +++ b/include/common/qvec.hh @@ -663,7 +663,7 @@ public: return qvec(normal[0], normal[1], normal[2], dist); } - [[nodiscard]] constexpr qplane3 operator-() const { return {qvec(0, 0, 0) - normal, -dist}; } + [[nodiscard]] constexpr qplane3 operator-() const { return {-normal, -dist}; } // generic case template