From 83697febeb6752f9aa7a3bd3dae61e8666c851be Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Tue, 19 Dec 2017 16:18:10 +0100 Subject: [PATCH] Update intersect.hpp --- glm/gtx/intersect.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/intersect.hpp b/glm/gtx/intersect.hpp index 851efa23..61e2226a 100644 --- a/glm/gtx/intersect.hpp +++ b/glm/gtx/intersect.hpp @@ -44,13 +44,13 @@ namespace glm typename genType::value_type & intersectionDistance); //! Compute the intersection of a ray and a triangle. - /// Based om Tomas Möller implementation http://fileadmin.cs.lth.se/cs/Personal/Tomas_Akenine-Moller/raytri/ + /// Based om Tomas Möller implementation http://fileadmin.cs.lth.se/cs/Personal/Tomas_Akenine-Moller/raytri/ //! From GLM_GTX_intersect extension. template GLM_FUNC_DECL bool intersectRayTriangle( vec<3, T, Q> const& orig, vec<3, T, Q> const& dir, vec<3, T, Q> const& v0, vec<3, T, Q> const& v1, vec<3, T, Q> const& v2, - vec<3, T, Q>& baryPosition, T& distance); + vec<2, T, Q>& baryPosition, T& distance); //! Compute the intersection of a line and a triangle. //! From GLM_GTX_intersect extension.