| Index: third_party/WebKit/Source/devtools/front_end/common/Geometry.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/common/Geometry.js b/third_party/WebKit/Source/devtools/front_end/common/Geometry.js
|
| index 1f8284c3f86d3ea6f6afd815c4ec0dfc9b7bc708..20a0525bd5439f6aa3db4eac5255a178181fe6e6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/common/Geometry.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/common/Geometry.js
|
| @@ -206,11 +206,11 @@ WebInspector.Geometry.EulerAngles.prototype = {
|
| */
|
| toRotate3DString: function()
|
| {
|
| - var gammaAxisY = Math.sin(WebInspector.Geometry.degreesToRadians(this.beta));
|
| + var gammaAxisY = -Math.sin(WebInspector.Geometry.degreesToRadians(this.beta));
|
| var gammaAxisZ = Math.cos(WebInspector.Geometry.degreesToRadians(this.beta));
|
| var axis = {
|
| - alpha: [0, -1, 0],
|
| - beta: [1, 0, 0],
|
| + alpha: [0, 1, 0],
|
| + beta: [-1, 0, 0],
|
| gamma: [0, gammaAxisY, gammaAxisZ]
|
| };
|
| return "rotate3d(" + axis.alpha.join(",") + "," + this.alpha + "deg) "
|
|
|