| Index: third_party/WebKit/Source/platform/transforms/Rotation.h
|
| diff --git a/third_party/WebKit/Source/platform/transforms/Rotation.h b/third_party/WebKit/Source/platform/transforms/Rotation.h
|
| index aaa62e00c19668595f97436da86bb85404941bd8..188fde8ec90805ca187456981eb3ed93e6de1ffd 100644
|
| --- a/third_party/WebKit/Source/platform/transforms/Rotation.h
|
| +++ b/third_party/WebKit/Source/platform/transforms/Rotation.h
|
| @@ -14,16 +14,18 @@ struct PLATFORM_EXPORT Rotation {
|
|
|
| Rotation(const FloatPoint3D& axis, double angle) : axis(axis), angle(angle) {}
|
|
|
| - // If either rotation is effectively "zero" or both rotations share the same normalized axes this function returns true
|
| - // and the "non-zero" axis is returned as resultAxis and the effective angles are returned as resultAngleA and resultAngleB.
|
| - // Otherwise false is returned.
|
| + // If either rotation is effectively "zero" or both rotations share the same
|
| + // normalized axes this function returns true and the "non-zero" axis is
|
| + // returned as resultAxis and the effective angles are returned as
|
| + // resultAngleA and resultAngleB. Otherwise false is returned.
|
| static bool getCommonAxis(const Rotation& /*a*/,
|
| const Rotation& /*b*/,
|
| FloatPoint3D& resultAxis,
|
| double& resultAngleA,
|
| double& resultAngleB);
|
|
|
| - // A progress of 0 corresponds to "from" and a progress of 1 corresponds to "to".
|
| + // A progress of 0 corresponds to "from" and a progress of 1 corresponds to
|
| + // "to".
|
| static Rotation slerp(const Rotation& from,
|
| const Rotation& to,
|
| double progress);
|
|
|