Rewrite lines
#include <s3d.h>
int s3d_pep_vertices(int object, const float *vbuf, uint16_t n);
Alter the latest n pushed vertex. vbuf holds the values which are used to overwrite the old data, n entries with each 3 floats specifying x,y,z of the vertices.
Simon Wunderlich
Author of s3d