|
30 | 30 | #include <GL/gl.h> |
31 | 31 | #endif |
32 | 32 |
|
33 | | -/* declare for drawing using the different OpenGL versions here so we can |
34 | | - have a nice code order below */ |
35 | | -static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices, |
36 | | - GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart); |
37 | | - |
38 | 33 | /* Drawing geometry: |
39 | 34 | * Explanation of the functions has to be separate for the polyhedra and |
40 | 35 | * the non-polyhedra (objects with a circular cross-section). |
@@ -80,18 +75,6 @@ static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat |
80 | 75 | */ |
81 | 76 | void fghDrawGeometrySolid(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices, |
82 | 77 | GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart) |
83 | | -{ |
84 | | - GLint attribute_v_coord, attribute_v_normal, attribute_v_texture; |
85 | | - attribute_v_coord = attribute_v_normal = attribute_v_texture = -1; |
86 | | - |
87 | | - { |
88 | | - fghDrawGeometrySolid11(vertices, normals, textcs, numVertices, |
89 | | - vertIdxs, numParts, numVertIdxsPerPart); |
90 | | - } |
91 | | -} |
92 | | - |
93 | | -static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices, |
94 | | - GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart) |
95 | 78 | { |
96 | 79 | int i; |
97 | 80 |
|
|
0 commit comments