mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-08 17:48:46 -10:00
* Add support for drawing batched 3D lines of arbitrary color and thickness. * Add draw3dLine lua function. * Move line texture out of graphics.h into graphics.cpp, also rename it for proper code style. * Move line texture generation to batching.cpp, create dedicated batching_add_line function and add support for a line with variable thickness at the start and end. * Use references in the verts loop * Add bound checks for line widths * Warn if the Lua script uses invalid widths