diff options
| author | raysan5 <[email protected]> | 2020-05-01 18:19:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-05-01 18:19:54 +0200 |
| commit | b8055925bf056b81f92095672552a67dbee2c430 (patch) | |
| tree | 9f7bfc65c26e6982c7d5cddd29ebc7dceca1376e /src | |
| parent | 6a8e4795da6d1b485e51cdcc9688d92c9ed890fb (diff) | |
| download | raylib-b8055925bf056b81f92095672552a67dbee2c430.tar.gz raylib-b8055925bf056b81f92095672552a67dbee2c430.zip | |
Update raymath.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/raymath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h index e021b932..0eb423a0 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -286,7 +286,7 @@ RMDEF Vector2 Vector2Rotate(Vector2 v, float degs) // Move Vector towards target RMDEF Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance) { - Vector2 result = { 0 } + Vector2 result = { 0 }; float dx = target.x - v.x; float dy = target.y - v.y; float value = (dx*dx) + (dy*dy); |
