mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:36:44 +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...
|
// Since there are only three comparisons to do we unroll the sort algorithm...
|
||||||
// and use a fifth slot as temp during swap.
|
// and use a fifth slot as temp during swap.
|
||||||
if (points[4] > points[2]) {
|
if (points[1] > points[2]) {
|
||||||
points[4] = points[1];
|
points[4] = points[1];
|
||||||
points[1] = points[2];
|
points[1] = points[2];
|
||||||
points[2] = points[4];
|
points[2] = points[4];
|
||||||
|
|
Loading…
Reference in a new issue