From 1bd069c4e2f305cab0b17f338a3e70444b95a6d2 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 3 Jan 2014 17:56:55 -0800 Subject: [PATCH] Removed unused variable. --- libraries/shared/src/GeometryUtil.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/shared/src/GeometryUtil.cpp b/libraries/shared/src/GeometryUtil.cpp index b37c36cec5..58d6e0476e 100644 --- a/libraries/shared/src/GeometryUtil.cpp +++ b/libraries/shared/src/GeometryUtil.cpp @@ -205,7 +205,6 @@ bool findRayCapsuleIntersection(const glm::vec3& origin, const glm::vec3& direct return false; // parallel to enclosing cylinder } float b = 2.0f * glm::dot(constant, coefficient); - float divisor = 2.0f * a; float radicand = b * b - 4.0f * a * c; if (radicand < 0.0f) { return false; // doesn't hit the enclosing cylinder