summaryrefslogtreecommitdiff
path: root/lib/geometricPlane.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/geometricPlane.h')
-rw-r--r--lib/geometricPlane.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/geometricPlane.h b/lib/geometricPlane.h
index fd3a1d7..3f95d3c 100644
--- a/lib/geometricPlane.h
+++ b/lib/geometricPlane.h
@@ -32,7 +32,7 @@ public:
}
[[nodiscard]] inline std::optional<DistAndPosition>
- getRayIntersectPosition(const Ray & ray) const
+ getRayIntersectPosition(const Ray<PositionType> & ray) const
{
float dist {};
if (!glm::intersectRayPlane(ray.start, ray.direction, origin, normal, dist)) {