| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #define _USE_MATH_DEFINES | 7 #define _USE_MATH_DEFINES |
| 8 #include <math.h> | 8 #include <math.h> |
| 9 | 9 |
| 10 #include "cc/test/geometry_test_utils.h" | 10 #include "cc/test/geometry_test_utils.h" |
| (...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1297 normalizationMatrix.setM11(1 / expectedEndOfAnimation.m44()); | 1297 normalizationMatrix.setM11(1 / expectedEndOfAnimation.m44()); |
| 1298 normalizationMatrix.setM22(1 / expectedEndOfAnimation.m44()); | 1298 normalizationMatrix.setM22(1 / expectedEndOfAnimation.m44()); |
| 1299 normalizationMatrix.setM33(1 / expectedEndOfAnimation.m44()); | 1299 normalizationMatrix.setM33(1 / expectedEndOfAnimation.m44()); |
| 1300 normalizationMatrix.setM44(1 / expectedEndOfAnimation.m44()); | 1300 normalizationMatrix.setM44(1 / expectedEndOfAnimation.m44()); |
| 1301 normalizedExpectedEndOfAnimation.multiply(normalizationMatrix); | 1301 normalizedExpectedEndOfAnimation.multiply(normalizationMatrix); |
| 1302 | 1302 |
| 1303 EXPECT_TRANSFORMATION_MATRIX_EQ(normalizedExpectedEndOfAnimation, to); | 1303 EXPECT_TRANSFORMATION_MATRIX_EQ(normalizedExpectedEndOfAnimation, to); |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 } // namespace | 1306 } // namespace |
| OLD | NEW |