From 59cfd0b200a658ea27054dd4f5e9cd78697b3b50 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:34 -0500 Subject: [PATCH] spelling: cotangent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/intersect.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/glm/gtx/intersect.inl b/includes/glm/gtx/intersect.inl index e76fd62..7035c48 100644 --- a/includes/glm/gtx/intersect.inl +++ b/includes/glm/gtx/intersect.inl @@ -117,13 +117,13 @@ namespace glm if (position.y < typename genType::value_type(0) || position.y > typename genType::value_type(1)) return false; - genType Cotengant = cross(Tengant, edge1); + genType Cotangent = cross(Tengant, edge1); - position.z = dot(dir, Cotengant) * inv_det; + position.z = dot(dir, Cotangent) * inv_det; if (position.z < typename genType::value_type(0) || position.y + position.z > typename genType::value_type(1)) return false; - position.x = dot(edge2, Cotengant) * inv_det; + position.x = dot(edge2, Cotangent) * inv_det; return true; }