b=907986 remove unused ThreeDPoint::Distance() r=padenot

--HG--
extra : transplant_source : %19%DD%A9%CB%CC%B1%C42%E2%8EY%CE%22%89o_%97i%03_
This commit is contained in:
Karl Tomlinson 2013-09-04 21:21:00 +12:00
parent 74e3f50648
commit 37e079bc4d

View File

@ -59,11 +59,6 @@ struct ThreeDPoint {
return x * rhs.x + y * rhs.y + z * rhs.z;
}
double Distance(const ThreeDPoint& rhs)
{
return sqrt(hypot(rhs.x, x) + hypot(rhs.y, y) + hypot(rhs.z, z));
}
bool IsZero() const
{
return x == 0 && y == 0 && z == 0;