Преглед изворни кода

Update raymath.h

pull/1236/head
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);

Loading…
Откажи
Сачувај