浏览代码

Update raymath.h

raysan5 5 年之前
父节点
当前提交
b8055925bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/raymath.h

+ 1 - 1
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);