Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GXVertex.h

Go to the documentation of this file.
00001 #ifndef __GXVERTEX_H
00002 #define __GXVERTEX_H
00003 
00004 
00005 #include "GXStandardDefines.h"
00006 
00007 
00008 struct GXVertex
00009 {
00010         D3DXVECTOR3 vPos;
00011         float           fWeight[2];
00012         DWORD           dwBoneIndices;
00013         D3DXVECTOR3     vNormal;
00014         DWORD           dwColor;
00015         D3DXVECTOR2 vTextureCoords;
00016 };
00017 
00018 inline void GXZeroVertex(GXVertex* pInOut)
00019 {
00020         assert(pInOut!=NULL);
00021         memset(pInOut, 0, sizeof(GXVertex));
00022 }
00023 
00024 //#define VERTEX_FVF (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_XYZB2 | D3DFVF_LASTBETA_UBYTE4 |D3DFVF_DIFFUSE | D3DFVF_TEX1)
00025 
00026 //this was itImadork
00027 //#define VERTEX_FVF (D3DFVF_XYZ | D3DFVF_NORMAL |D3DFVF_XYZB3|D3DFVF_LASTBETA_UBYTE4 | D3DFVF_DIFFUSE | D3DFVF_TEX1)
00028 #define VERTEX_FVF (D3DFVF_XYZ | D3DFVF_NORMAL |D3DFVF_XYZB3 | D3DFVF_DIFFUSE | D3DFVF_TEX1)
00029 
00030 
00031 struct GXPointVertex
00032 {
00033         D3DXVECTOR3 vPos;
00034         float           fPointSize;
00035         DWORD           dwColor;
00036 };
00037 
00038 
00039 
00040 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001