
-----------------------------------
Wolf_Destiny
Tue Mar 13, 2007 12:50 pm

XNA Line Segments
-----------------------------------
Has anyone written or found previously an XNA compatible line drawing function. I've looked around, and information/explanations for drawing 2d primitives in XNA are seriously lacking. I took a look at the Microsoft HowTo on 2D primatives, but it isn't very well commented. So back to my original question, does anyone have a function similar to:
public void drawline (int x1,int y1,int x2, int y2, int colour)
{}Or even:
public void drawline (Vertex3 point1, Vertex3 point2, int colour)
{}
~Wolf_Destiny
