Commit 323e4ce1 authored by Philip Trettner's avatar Philip Trettner
Browse files

fixed plane intersection api

parent 0a763d01
......@@ -1232,7 +1232,7 @@ template <int D, class ScalarT>
template <class ScalarT>
[[nodiscard]] constexpr pos<3, ScalarT> intersection(plane<3, ScalarT> const& a, plane<3, ScalarT> const& b, plane<3, ScalarT> const& c)
return intersection(intersection(a, b), c);
return intersection(intersection(a, b), c).first();
template <int D, class ScalarT>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment