mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Removed unused variable.
This commit is contained in:
parent
2b15fdf78f
commit
1bd069c4e2
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue