Commit d192e9d6 authored by Aaron Grabowy's avatar Aaron Grabowy

Fixed project(cone3) template deduction

parent 1296d248
......@@ -428,7 +428,7 @@ template <class ScalarT>
return closestOnBase;
// Return closer projection
auto closestOnCone = project(p, inf_cone(c));
auto closestOnCone = project(p, inf_cone<3, ScalarT>(c));
return length_sqr(p - closestOnCone) >= length_sqr(p - closestOnBase) ? closestOnBase : closestOnCone;
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