| OLD | NEW |
| 1 // | 1 // |
| 2 // Book: OpenGL(R) ES 2.0 Programming Guide | 2 // Book: OpenGL(R) ES 2.0 Programming Guide |
| 3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner | 3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner |
| 4 // ISBN-10: 0321502795 | 4 // ISBN-10: 0321502795 |
| 5 // ISBN-13: 9780321502797 | 5 // ISBN-13: 9780321502797 |
| 6 // Publisher: Addison-Wesley Professional | 6 // Publisher: Addison-Wesley Professional |
| 7 // URLs: http://safari.informit.com/9780321563835 | 7 // URLs: http://safari.informit.com/9780321563835 |
| 8 // http://www.opengles-book.com | 8 // http://www.opengles-book.com |
| 9 // | 9 // |
| 10 | 10 |
| 11 // | 11 // |
| 12 /// \file ESUtil.h | 12 /// \file ESUtil.h |
| 13 /// \brief A utility library for OpenGL ES. This library provides a | 13 /// \brief A utility library for OpenGL ES. This library provides a |
| 14 /// basic common framework for the example applications in the | 14 /// basic common framework for the example applications in the |
| 15 /// OpenGL ES 2.0 Programming Guide. | 15 /// OpenGL ES 2.0 Programming Guide. |
| 16 // | 16 // |
| 17 #ifndef ESUTIL_H | 17 #ifndef ESUTIL_H |
| 18 #define ESUTIL_H | 18 #define ESUTIL_H |
| 19 | 19 |
| 20 /// | |
| 21 // Includes | |
| 22 // | |
| 23 #include <GLES2/gl2.h> | 20 #include <GLES2/gl2.h> |
| 24 | 21 |
| 25 #ifdef __cplusplus | 22 #ifdef __cplusplus |
| 26 extern "C" { | 23 extern "C" { |
| 27 #endif // __cplusplus | 24 #endif // __cplusplus |
| 28 | 25 |
| 29 #ifndef FALSE | 26 #ifndef FALSE |
| 30 #define FALSE 0 | 27 #define FALSE 0 |
| 31 #endif // FALSE | 28 #endif // FALSE |
| 32 #ifndef TRUE | 29 #ifndef TRUE |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 //// \brief return an indentity matrix | 169 //// \brief return an indentity matrix |
| 173 //// \param result returns identity matrix | 170 //// \param result returns identity matrix |
| 174 // | 171 // |
| 175 extern void esMatrixLoadIdentity(ESMatrix *result); | 172 extern void esMatrixLoadIdentity(ESMatrix *result); |
| 176 | 173 |
| 177 #ifdef __cplusplus | 174 #ifdef __cplusplus |
| 178 } | 175 } |
| 179 #endif // __cplusplus | 176 #endif // __cplusplus |
| 180 | 177 |
| 181 #endif // ESUTIL_H | 178 #endif // ESUTIL_H |
| OLD | NEW |