Rewrite lines
#include <s3d.h>
int s3d_pep_lines(int object, const uint32_t *lbuf, uint16_t n);
Alter the latest n pushed lines. lbuf holds the values which are used to overwrite the old data, n entries with each 3 uint32_t specifying first, second vertex and material of each line.
Simon Wunderlich
Author of s3d