Código:
struct Objeto{
Bounding bounding;
float x, y, z;};
Código:
struct Bounding {
int Tipo; // 1 -> Esfera // 2 -> Box alineada a los ejes // 3 -> Box alineada al objeto
float xmax, xmin;
float ymax, ymin;
float zmax, zmin;
float r;
float vx[8], vy[8], vz[8];
void Crear(int tipo, GLuint objeto);
};
Pero no se porque me dice:
Código:
1>e:\c++\opengl\movimiento de pj + camara\juego1\idobjeto.h(12) : error C2146: error de sintaxis : falta ';' delante del identificador 'bounding'
Código:
error C2079: 'Objeto::bounding' utiliza struct 'Bounding' sin definir
Ayuda rapida porfavor