Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp

Issue 2392543003: reflow comments in platform/geometry (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/FloatPoint3D.h ('k') | third_party/WebKit/Source/platform/geometry/FloatPolygon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698