hey having trouble, desgned a vertex for a squashed rectangle shape thing but being a newb to 3d i always stump my toe on stupid problems, the code below shows two sets of two triangle primitives exactly the same coding except the middle two coordinates have been switched, the initial non working primitives are the ones i created, and the second lot is the ones i re ordered and got to work. but the thing i dont get is when drawing the triangle i dont get why the second two points require a specific order for them to function..
BTW using trianglestrip draw mode
any help is much appreciated, thanxCode://first 2 NON working primitives {303,85,32,1,D3DCOLOR_ARGB(0,255,255,255),}, {182,144,32,1,D3DCOLOR_ARGB(0,255,255,255),}, // these rows {455,219,32,1,D3DCOLOR_ARGB(0,255,255,255),}, // as drawn {318,307,32,1,D3DCOLOR_ARGB(0,255,255,255),}, //second 2 working primitives {303,85,32,1,D3DCOLOR_ARGB(0,255,255,255),}, {455,219,32,1,D3DCOLOR_ARGB(0,255,255,255),},//these rows {182,144,32,1,D3DCOLOR_ARGB(0,255,255,255),},//switched {318,307,32,1,D3DCOLOR_ARGB(0,255,255,255),},