Skip to main content
gamedev.net
🔒 Locked

Easy Question!

Started by lexor Nov 5, 2002 at 5:38 AM 0 replies 300+ views
Original Post
lexor
lexor
Hi! I need to draw a line on screen between two vertexpoints (in 2d, only x & y cordinates). There is a function called .DrawLine in DirectDraw that would do the job but im using DirectX8. How can this be done in DX8? Thanks!
_______ www.leXor.net
gerogerber
gerogerber
Use IDirect3DDevice8::DrawPrimitive with D3DPT_LINELIST.

Gero

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.