Search results

  1. E

    pointer of type WORD???

    VERTEX *Vertices; int NumVertices; WORD *Indices; int NumIndices; I then make a reference to Indices here: Vertices = new VERTEX[NumVertices]; Indices = new WORD[NumIndices]; //<---- line 47 My error is this: Project.cxx:47: error: 'Indices' undeclared (first use this...
  2. E

    can't link glut.h to gcc

    After hours of messing with this I'm at a loss. /* rotating.c */ #include <stdlib.h> #include <GL/glut.h> #include <GL/glu.h> #include <GL/gl.h> GLfloat vertices[] [3] = {{-1.0,-1.0,-1.0}, {1.0,-1.0,-1.0}, {1.0,1.0,-1.0}, {-1.0,1.0,-1.0}, {-1.0,-1.0,1.0}........... compile...
Back
Top