| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <wildfox@kde.org> | 2 Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <wildfox@kde.org> |
| 3 2004, 2005 Rob Buis <buis@kde.org> | 3 2004, 2005 Rob Buis <buis@kde.org> |
| 4 2005 Eric Seidel <eric@webkit.org> | 4 2005 Eric Seidel <eric@webkit.org> |
| 5 | 5 |
| 6 This library is free software; you can redistribute it and/or | 6 This library is free software; you can redistribute it and/or |
| 7 modify it under the terms of the GNU Library General Public | 7 modify it under the terms of the GNU Library General Public |
| 8 License as published by the Free Software Foundation; either | 8 License as published by the Free Software Foundation; either |
| 9 version 2 of the License, or (at your option) any later version. | 9 version 2 of the License, or (at your option) any later version. |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 return acos(clampTo(cosAngle, -1.0, 1.0)); | 50 return acos(clampTo(cosAngle, -1.0, 1.0)); |
| 51 } | 51 } |
| 52 return 0; | 52 return 0; |
| 53 } | 53 } |
| 54 | 54 |
| 55 String FloatPoint3D::toString() const | 55 String FloatPoint3D::toString() const |
| 56 { | 56 { |
| 57 return String::format("%lg,%lg,%lg", x(), y(), z()); | 57 return String::format("%lg,%lg,%lg", x(), y(), z()); |
| 58 } | 58 } |
| 59 | 59 |
| 60 std::ostream& operator<<(std::ostream& ostream, const FloatPoint3D& point) |
| 61 { |
| 62 return ostream << point.toString(); |
| 63 } |
| 64 |
| 60 } // namespace blink | 65 } // namespace blink |
| 61 | 66 |
| OLD | NEW |