From 6a1df3dfbae98a05e74c646cc216fbc19ffdb6d6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 Jan 2024 13:04:31 +0000 Subject: Template Ray on position type --- lib/geometricPlane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/geometricPlane.h') 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 - getRayIntersectPosition(const Ray & ray) const + getRayIntersectPosition(const Ray & ray) const { float dist {}; if (!glm::intersectRayPlane(ray.start, ray.direction, origin, normal, dist)) { -- cgit v1.2.3