Drawing lines in XNA or DirectX?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Josh Argent
    New Member
    • Dec 2010
    • 28

    Drawing lines in XNA or DirectX?

    Hi,
    I'm having quite a hard time trying to draw a simple line from one location to another in xna and directx. I've tried both but really can not get either to work. :(

    I've searched around a bit but everything seems really complicated. All I want to do is draw a line on a panel control.

    I've managed to do this in GDI+ but it is really glitchy so I was told to try directx and xna.

    Please can someone explain to me, simply, how to draw a line onto a panel control using one of these methods.

    Thanks in advance,
    Josh.
Working...