#pragma once //#include "DXUT.h" //struct to define vertex for the FVF typedef struct D3DVERTEX_1 { float fX, fY, fZ, fW; float fU, fV; public: D3DVERTEX_1(){ } D3DVERTEX_1(float fX,float fY,float fZ,float fW, float fU, float fV) { this->fX=fX; this->fY=fY; this->fZ=fZ; this->fW=fW; this->fU=fU; this->fV=fV; } } D3DVERTEX_1; //Flexible vertex format define #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZW | D3DFVF_TEX0 |D3DFVF_TEXCOORDSIZE2(0))