mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
fixed uninitialized variable warning
This commit is contained in:
parent
c958ae8cfb
commit
0e7e337807
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ bool capsuleCapsule(const CapsuleShape* capsuleA, const CapsuleShape* capsuleB,
|
|||
|
||||
// Since there are only three comparisons to do we unroll the sort algorithm...
|
||||
// and use a fifth slot as temp during swap.
|
||||
if (points[4] > points[2]) {
|
||||
if (points[1] > points[2]) {
|
||||
points[4] = points[1];
|
||||
points[1] = points[2];
|
||||
points[2] = points[4];
|
||||
|
|
Loading…
Reference in a new issue