public float GetSquareDistance(float x, float y) { float dx = x - m_x; float dy = y - m_y; return dx * dx + dy * dy; }