From 0aa202e8a1c8065a61a05f22573150a50c7d0867 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 25 Sep 2024 10:33:59 +0200 Subject: [PATCH] Return bool in ray_triangle It only returns booleans, so it doesn't make sense for this to be a float. --- include/intersections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/intersections.h b/include/intersections.h index 2613cc4..2e2cd57 100644 --- a/include/intersections.h +++ b/include/intersections.h @@ -22,7 +22,7 @@ namespace intersections { return false; } - inline float ray_triangle( + inline bool ray_triangle( const Ray ray, const glm::vec3 v0, const glm::vec3 v1,