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:
parent
e80718981d
commit
71c5501ef0
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue