S3D_PUSH_LINE(3)
β¨ NAME β¨
s3d_push_line β push line π
Ok so welcome to the s3d manual bestie, this page is S3D_PUSH_LINE(3) and it's literally about pushing one single line. Baby steps. Iconic behavior. π¦
πΈ SYNOPSIS πΈ
#include <s3d.h>
int s3d_push_line(int object, uint32_t v1, uint32_t v2,
uint32_t material);
That's the whole vibe. Four args, no drama. π
π DESCRIPTION π
So what we're doing here is pushing one line onto the line stack of the object. One. Uno. Singular. No cap. π₯
The function takes:
- 2 vertex-index-no β
<yellow>v1</yellow>and<yellow>v2</yellow>, the two vertices your line is gonna connect - 1 material material-index-no β
<purple>material</purple>, the material it's serving looks in
And obviously <cyan>object</cyan> is the object whose line stack you're blessing with this line. π«Ά
Pro tip fr fr: if you've got a lot of lines to push, do not sit here calling this in a loop like a clown π β use s3d_push_lines() instead. She's built for volume. π
π AUTHOR π
Simon Wunderlich β Author of s3d π
And that's the tea π β this was the s3d Manual page for s3d, delivered to you with all the love in the world. Go push some lines, bestie, you got this. β
π¦ 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