draw3DLine problem

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.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Yeah, that's right !!!!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
FumarMata
Posts: 13
Joined: Fri Mar 02, 2007 12:26 pm

Post by FumarMata »

Just to help other beginners like me:

[quote="Acki"]No, you can't change the radius of a 3DLine !!![/quote]

Yes, you can change the radius of a 3DLine. The right name of the parameter is "Thickness"

[code] SMaterial mat;
mat.Lighting = false;
mat.Thickness = 2;
driver->setMaterial(mat);
[/code]

All the 2d lines, 3d lines, rectangles, etc. that you draw, will have that thicknes from now on
Post Reply