FUCK FUCK FUCK FUCK FUCK

This commit is contained in:
Masséna Fezard | Nounouille 2022-01-09 16:53:21 +01:00
parent c4c4f6d760
commit 5a23856a3f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ int
length(int x1, int y1, int x2, int y2)
{
const int dist_x = abs(x1 - x2);
const int dist_y = abs(y1 - y1);
const int dist_y = abs(y1 - y2);
const float dist = sqrt(dist_x * dist_x + dist_y * dist_y);
return dist;
}