| Index: third_party/gles_book_examples/Common/Source/esShapes.c
|
| ===================================================================
|
| --- third_party/gles_book_examples/Common/Source/esShapes.c (revision 35503)
|
| +++ third_party/gles_book_examples/Common/Source/esShapes.c (working copy)
|
| @@ -19,7 +19,6 @@
|
| #include "esUtil.h"
|
| #include <stdlib.h>
|
| #include <math.h>
|
| -#include <string.h>
|
|
|
| ///
|
| // Defines
|
| @@ -51,8 +50,8 @@
|
| /// \return The number of indices required for rendering the buffers (the number of indices stored in the indices array
|
| /// if it is not NULL ) as a GL_TRIANGLE_STRIP
|
| //
|
| -int esGenSphere ( int numSlices, float radius, GLfloat **vertices, GLfloat **normals,
|
| - GLfloat **texCoords, GLuint **indices )
|
| +int ESUTIL_API esGenSphere ( int numSlices, float radius, GLfloat **vertices, GLfloat **normals,
|
| + GLfloat **texCoords, GLuint **indices )
|
| {
|
| int i;
|
| int j;
|
| @@ -138,8 +137,8 @@
|
| /// \return The number of indices required for rendering the buffers (the number of indices stored in the indices array
|
| /// if it is not NULL ) as a GL_TRIANGLE_STRIP
|
| //
|
| -int esGenCube ( float scale, GLfloat **vertices, GLfloat **normals,
|
| - GLfloat **texCoords, GLuint **indices )
|
| +int ESUTIL_API esGenCube ( float scale, GLfloat **vertices, GLfloat **normals,
|
| + GLfloat **texCoords, GLuint **indices )
|
| {
|
| int i;
|
| int numVertices = 24;
|
|
|