mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
74e3f50648
commit
37e079bc4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user