mirror of
https://github.com/halpz/re3.git
synced 2025-06-28 06:16:21 +00:00
fix build
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user