bool blink::FloatBoxTest::ApproximatelyEqual(const FloatBox& a, const FloatBox& b) { if (!ApproximatelyEqual(a.x(), b.x()) || !ApproximatelyEqual(a.y(), b.y()) || !ApproximatelyEqual(a.z(), b.z()) || !ApproximatelyEqual(a.width(), b.width()) || !ApproximatelyEqual(a.height(), b.height()) || !ApproximatelyEqual(a.depth(), b.depth())) { return false; } return true; }
void blink::PrintTo(const FloatBox& box, ::std::ostream* os) { *os << "FloatBox(" << box.x() << ", " << box.y() << ", " << box.z() << ", " << box.width() << ", " << box.height() << ", " << box.depth() << ")"; }
void PrintTo(const FloatBox& box, std::ostream* os) { ScopedFloatFlags scope(*os); *os << "FloatBox(" << box.x() << ", " << box.y() << ", " << box.z() << ", " << box.width() << ", " << box.height() << ", " << box.depth() << ")"; }