Draw a line between two points

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Nikko_Bertoa
Posts: 42
Joined: Wed Feb 18, 2009 5:26 am

Draw a line between two points

Post by Nikko_Bertoa »

Hi community.

I have two points a and b.
I need to know how can I draw a line between these two points. I don't care the color.

Thanks!
Seven
Posts: 1030
Joined: Mon Nov 14, 2005 2:03 pm

Post by Seven »

driver->draw3DLine
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Don't forget to set the material and world transform before drawing the line.

Travis
Post Reply