1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 00:00:00 +00:00

fix build

This commit is contained in:
Sergeanur 2020-10-17 14:23:31 +03:00
parent 1f36b78c20
commit ca64a49af1

View file

@ -120,7 +120,7 @@ Distance2D(const CVector &v1, const CVector &v2)
{
float x = v2.x - v1.x;
float y = v2.y - v1.y;
return Sqrt(sq(x) + sq(y));
return Sqrt(x*x + y*y);
}
class CMatrix;