Rectangle Drawing Optimisation

Miscellaneous Forums/General Discussion/Rectangle Drawing Optimisation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You should expand the area to encompass the two rectangles. Why? Don't assume you will only have two rects overlapping - It's quicker mathematically and it's quicker to draw (1 draw command instead of 3 or more). Dirty Rects are done that way for a reason - it's better :D