Removed unused variable.

This commit is contained in:
Andrzej Kapolka 2014-01-03 17:56:55 -08:00
parent 2b15fdf78f
commit 1bd069c4e2

View file

@ -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