diff --git a/source/Geometry/Plane.hpp b/source/Geometry/Plane.hpp index bf753f7..e65c46c 100644 --- a/source/Geometry/Plane.hpp +++ b/source/Geometry/Plane.hpp @@ -61,7 +61,7 @@ namespace Geometry /// Finds the closed point on a plane to another point VectorT closest_point (const VectorT & point) const { - Vec3 at; + VectorT at; intersects_with(Line(point, _normal), at);