LEFT | RIGHT |
1 // | 1 // |
2 // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. | 2 // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 // | 5 // |
6 | 6 |
7 // mathutil.h: Math and bit manipulation functions. | 7 // mathutil.h: Math and bit manipulation functions. |
8 | 8 |
9 #ifndef LIBGLESV2_MATHUTIL_H_ | 9 #ifndef LIBGLESV2_MATHUTIL_H_ |
10 #define LIBGLESV2_MATHUTIL_H_ | 10 #define LIBGLESV2_MATHUTIL_H_ |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 inline GLenum adjustWinding(GLenum winding) | 86 inline GLenum adjustWinding(GLenum winding) |
87 { | 87 { |
88 ASSERT(winding == GL_CW || winding == GL_CCW); | 88 ASSERT(winding == GL_CW || winding == GL_CCW); |
89 return winding == GL_CW ? GL_CCW : GL_CW; | 89 return winding == GL_CW ? GL_CCW : GL_CW; |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 #endif // LIBGLESV2_MATHUTIL_H_ | 93 #endif // LIBGLESV2_MATHUTIL_H_ |
LEFT | RIGHT |