diff options
| author | raysan5 <[email protected]> | 2020-12-23 15:03:26 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-12-23 15:03:26 +0100 |
| commit | 0a9e0809989dc9239bfb6b3b333fa0e0e4531548 (patch) | |
| tree | feb1c55dc9e94862ea0993bdd42c91997b7199bc /src/shapes.c | |
| parent | 547960ca71f4c07c7f0fdd337937ec041f15abff (diff) | |
| download | raylib-0a9e0809989dc9239bfb6b3b333fa0e0e4531548.tar.gz raylib-0a9e0809989dc9239bfb6b3b333fa0e0e4531548.zip | |
Remove trailing spaces
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shapes.c b/src/shapes.c index f92d8c54..56de3a7a 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -1485,13 +1485,13 @@ bool CheckCollisionLines(Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, if (xi < fminf(startPos2.x, endPos2.x) || xi > fmaxf(startPos2.x, endPos2.x)) return false; if (yi < fminf(startPos1.y, endPos1.y) || yi > fmaxf(startPos1.y, endPos1.y)) return false; if (yi < fminf(startPos2.y, endPos2.y) || yi > fmaxf(startPos2.y, endPos2.y)) return false; - + if (collisionPoint != 0) { collisionPoint->x = xi; collisionPoint->y = yi; } - + return true; } |
