OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef UI_GFX_MATRIX3_F_H_ | 5 #ifndef UI_GFX_GEOMETRY_MATRIX3_F_H_ |
6 #define UI_GFX_MATRIX3_F_H_ | 6 #define UI_GFX_GEOMETRY_MATRIX3_F_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "ui/gfx/vector3d_f.h" | 9 #include "ui/gfx/geometry/vector3d_f.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 | 12 |
13 class GFX_EXPORT Matrix3F { | 13 class GFX_EXPORT Matrix3F { |
14 public: | 14 public: |
15 ~Matrix3F(); | 15 ~Matrix3F(); |
16 | 16 |
17 static Matrix3F Zeros(); | 17 static Matrix3F Zeros(); |
18 static Matrix3F Ones(); | 18 static Matrix3F Ones(); |
19 static Matrix3F Identity(); | 19 static Matrix3F Identity(); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 float data_[9]; | 99 float data_[9]; |
100 }; | 100 }; |
101 | 101 |
102 inline bool operator==(const Matrix3F& lhs, const Matrix3F& rhs) { | 102 inline bool operator==(const Matrix3F& lhs, const Matrix3F& rhs) { |
103 return lhs.IsEqual(rhs); | 103 return lhs.IsEqual(rhs); |
104 } | 104 } |
105 | 105 |
106 } // namespace gfx | 106 } // namespace gfx |
107 | 107 |
108 #endif // UI_GFX_MATRIX3_F_H_ | 108 #endif // UI_GFX_GEOMETRY_MATRIX3_F_H_ |
OLD | NEW |