Drawing a colored Square

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
jlulian38
Posts: 11
Joined: Fri Apr 21, 2006 3:57 am

Drawing a colored Square

Post by jlulian38 »

I need some way to draw a square on the screen (a 2d thingy), without having to make a texture in the right size (I really, really, really don't want to do that (mostly cause I'm lazy :P (Gah I keep doing recursive parentheses)))

Any help would be much appreciated.
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

driver->draw2DRectangle(SColor color, const core::rect<s32>& pos,
const core::rect<s32>* clip)
If you don't have anything nice to say, don't say anything at all.
jlulian38
Posts: 11
Joined: Fri Apr 21, 2006 3:57 am

Post by jlulian38 »

Luben wrote:driver->draw2DRectangle(SColor color, const core::rect<s32>& pos,
const core::rect<s32>* clip)
Ahh thanks... *bashes head on keyboard*
Post Reply