qvec: revert plane3::operator- change.

not worth trying to maintain all of the inconsistent special cases of the old code.
This commit is contained in:
Eric Wasylishen 2021-10-24 16:20:52 -06:00
parent e80718981d
commit 71c5501ef0
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ public:
return qvec<T, 4>(normal[0], normal[1], normal[2], dist);
}
[[nodiscard]] constexpr qplane3 operator-() const { return {qvec<T, 3>(0, 0, 0) - normal, -dist}; }
[[nodiscard]] constexpr qplane3 operator-() const { return {-normal, -dist}; }
// generic case
template<typename F>