build_cylinder(3)
β¨ NAME β¨
build_cylinder(3) β from the Arcan Lua API, bestie β generates a full or half cylinder model. It's giving geometry main character energy, fr. π
π¦ SYNOPSIS π¦
vid
build_cylinder( float:radius, float:halfh, uint:steps )
build_cylinder( float:radius, float:halfh, uint:steps, uint:nmaps=1 )
build_cylinder( float:radius, float:halfh, uint:steps, uint:nmaps=1, str:opts="" )
π DESCRIPTION π
Okay so this builds a mesh and binds to a new finalised 3d model. Typical use? Debug geometry, skydrawing, and representing panoramic pictures and video sources. Iconic, honestly. π
The mesh range in the y axis will range from -halfh..halfh. That's the y-axis vibe check: -halfh to halfh, no cap. β¨
The optional opts argument specifies additional constraints, for example "caps" for adding endcaps, "half" for generating an open sliced half of a cylinder, or "halfcaps" for generating a closed sliced half of a cylinder. π
π arg check, iykyk π
float:radiusβ afloat, slay.float:halfhβ afloat; it's thehalfhin the y-axis mesh range-halfh..halfh.uint:stepsβ auint.uint:nmaps=1β optionaluint, default1.str:opts=""β optionalstr, default""; this is where those extra constraints go:"caps","half","halfcaps".
πΈ SEE ALSO πΈ
This page comes from source/version 3d and is dated October 2026 β mwah, bestie! π«Άπ
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms