lairworks / nas2d-core

NAS2D is an open source, object oriented 2D game development framework written in portable C++.
http://nas2d.lairworks.com
zlib License
10 stars 5 forks source link

Use OpenGL primitives in `drawBox` #1086

Closed DanRStevens closed 1 year ago

DanRStevens commented 1 year ago

This avoids the more complicated code in line.

The line code may have better anti-aliasing for non-axis-aligned lines. However, for a box, the lines are always axis aligned.

Documentation:

ldicker83 commented 1 year ago

No objections here, looks good to me.