OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 REMOTING_CLIENT_OPENGL_GL_MATH_H_ | 5 #ifndef REMOTING_CLIENT_DISPLAY_GL_MATH_H_ |
6 #define REMOTING_CLIENT_OPENGL_GL_MATH_H_ | 6 #define REMOTING_CLIENT_DISPLAY_GL_MATH_H_ |
7 | 7 |
8 #include <array> | 8 #include <array> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 // Transposes matrix [ m0, m1, m2, m3, m4, m5, m6, m7, m8 ]: | 15 // Transposes matrix [ m0, m1, m2, m3, m4, m5, m6, m7, m8 ]: |
16 // | 16 // |
(...skipping 19 matching lines...) Expand all Loading... |
36 // For example: | 36 // For example: |
37 // [ | 37 // [ |
38 // 1, 0, 0, | 38 // 1, 0, 0, |
39 // 0, 1, 0, | 39 // 0, 1, 0, |
40 // 0, 0, 1, | 40 // 0, 0, 1, |
41 // ] | 41 // ] |
42 std::string MatrixToString(const float* mat, int num_rows, int num_cols); | 42 std::string MatrixToString(const float* mat, int num_rows, int num_cols); |
43 | 43 |
44 } // namespace remoting | 44 } // namespace remoting |
45 | 45 |
46 #endif // REMOTING_CLIENT_OPENGL_GL_MATH_H_ | 46 #endif // REMOTING_CLIENT_DISPLAY_GL_MATH_H_ |
OLD | NEW |