[Release] Hans D3D Test Square...
Okay, so some people have been accusing me of my signature being fake. They are calling it Hans D3D Test Square, which is retarded cause it's not in the correct spot. So I've decided to prove that it is mine...
[highlight=c++]void Draw_Filled_Square(int x, int y, LPDIRECT3DDEVICE9 pDevice){
struct Square_Vertex
{
float x, y, z, rhw;
DWORD Color;
};
Square_Vertex SquareFill[]=
{
{x+100, y+100, 1, 1,0xFF000000},
{x, y, 1, 1, 0xFFFF0000},
{x+200, y, 1, 1, 0xFF00FF00},
{x+200, y+200,1, 1, 0xFF0000FF},
{x, y+200, 1, 1, 0xFFFFFFFF},
{x, y, 1, 1, 0xFFFF0000}
};
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLEFAN, 4, SquareFill, sizeof(Square_Vertex));
}[/highlight]
Lot of useless code Looks like a copy of what i release with out the structure on the inside.
why use triangle fan?