hi folks
can anyone tell me what the problem with this code
ID3DXLine *pLine =NULL;
D3DXCreateLine(&Device,&pLine);
D3DXVECTOR3 v[] = { (0.0f,0.0f,0.0f),
{5.0f,0.0f,0.0f)
};
Device->BeginScene();
pLine->Begin();
pLine->DrawTransform(v,2,&pWorldTransform,D3DCOLOR_COLORVALUE(1.0f,1.0f,1.0f)));
pLine->End()
Device->EndScene()
iam not getting displayed any line on the screen;

Id3dxline problem
Rich_Cov
thank u ,
it is working
sepehr.Beigi
I don't know about managed code but you probably need to have a projection and a view matrix before you call this.
Can you make DX work for everything else
You can go to google.com and type tutorial with D3DXCreateLine
you could get sample that use this function...