Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(47)

Delta Between Two Patch Sets: src/libGLESv2/mathutil.h

Issue 3265041: All surfaces follow D3D Y convention (Closed) Base URL: http://angleproject.googlecode.com/svn/trunk/
Left Patch Set: '' Created 14 years, 2 months ago
Right Patch Set: '' Created 14 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/libGLESv2/libGLESv2.cpp ('k') | src/libGLESv2/utilities.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
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_
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b