Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 XNA Line Segments
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Wolf_Destiny




PostPosted: Tue Mar 13, 2007 12:50 pm   Post subject: 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:
code:
public void drawline (int x1,int y1,int x2, int y2, int colour)
{}
Or even:
code:
public void drawline (Vertex3 point1, Vertex3 point2, int colour)
{}

~Wolf_Destiny
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: