diff options
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); |
