Drawing 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
carb

Drawing Points?

Post by carb »

Is there a simple command (i.e. from the VideoDriver class) to just draw a simple, colored point (of whatever width)?

- Ben
deps
Posts: 115
Joined: Sat Jan 10, 2004 5:22 pm
Location: Tranås, Sweden

Post by deps »

Code: Select all

void drawDot( int x, int y, int size , video::SColor color )
{
driver->draw2DRectangle(color, core::rect<s32>(x, y, x+size, y+size));
}
Untested. But something like that i think.
Post Reply