S3D_PEP_LINES(3)
π s3d_pep_lines β rewrite lines
okay bestie, welcome to the s3d manual, page S3D_PEP_LINES(3). yes this is a real section 3 page and yes it's lowkey iconic. let's get into it β¨
π NAME π
s3d_pep_lines β rewrite lines
like, glow-up for lines that already exist. we're not making new ones, we're editing. main character behavior fr fr π
β¨ SYNOPSIS β¨
#include <s3d.h>
int s3d_pep_lines(int object, const uint32_t *lbuf, uint16_t n);
look at her. so clean. so simple. she ate π
π¦ DESCRIPTION π¦
okay so here's the tea β: this function goes in and alters the latest n pushed lines. not older ones, not random ones β the latest ones. the most recent glow-up recipients. periodt.
and lbuf? lbuf is carrying the values that get used to overwrite the old data. it's giving "out with the old, in with the new" but make it buffers.
so like, lbuf holds n entries. each one of those entries is made of 3 uint32_t values, and those three are:
- the first vertex
- the second vertex
- the material
of each line π«Ά
so basically: n entries, 3 uint32_t apiece, first vertex + second vertex + material, and boom β your lines are rewritten. no cap, that's the whole vibe. πΈ
π AUTHOR π
Simon Wunderlich Author of s3d
(we stan a legend who writes both the library and the manpage, honestly iconic behavior π₯)
π quick reminder bestie: this one rewrites the latestnpushed lines only, andlbufneedsnentries of 3uint32_teach β first vertex, second vertex, material. don't come for me if you pass the wrong count, i'm just the messenger π₯Ί
and that's the whole page, bestie! this was s3d, S3D_PEP_LINES(3) β go forth and rewrite your lines, you absolute queen ππ
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms