build_cylinder(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

✨ 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 β€” a float, slay.
  • float:halfh β€” a float; it's the halfh in the y-axis mesh range -halfh..halfh.
  • uint:steps β€” a uint.
  • uint:nmaps=1 β€” optional uint, default 1.
  • str:opts="" β€” optional str, 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