ciao.
Ho il seguente file .h:
codice:
#pragma once
#include "d3dUtility.h"
struct NORMAL
{
float nx;
float ny;
float nz;
};
struct TEXCOORD
{
float U;
float V;
};
struct I_INDEXES
{
int nVertex1;
int nVertex2;
int nVertex3;
int nNormal1;
int nNormal2;
int nNormal3;
int nU1;
int nU2;
};
Ottengo questi errori di compilazione:
Error 1 error C2143: syntax error : missing ';' before '<class-head>' c:\d3dxcreatemeshfvf\mesh\structs.h 5
e
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\d3dxcreatemeshfvf\mesh\structs.h 5
cosa puo' essere la causa?