Index: third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp |
diff --git a/third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp b/third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp |
index 131c46ae726f6dab02832d4357472b41b9391992..8e39bc0909904186e8e73d40e01ae013c78d6979 100644 |
--- a/third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp |
+++ b/third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp |
@@ -43,8 +43,8 @@ float FloatPoint3D::angleBetween(const FloatPoint3D& y) const { |
if (xLength && yLength) { |
float cosAngle = this->dot(y) / (xLength * yLength); |
- // Due to round-off |cosAngle| can have a magnitude greater than 1. Clamp the value to [-1, |
- // 1] before computing the angle. |
+ // Due to round-off |cosAngle| can have a magnitude greater than 1. Clamp |
+ // the value to [-1, 1] before computing the angle. |
return acos(clampTo(cosAngle, -1.0, 1.0)); |
} |
return 0; |