swizzle_model(3)

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

okay so bestie, welcome to the swizzle_model page β€” it lives in the Arcan Lua API, section 3 of the manual, and honestly it's a tiny little function with one very specific job πŸ’…βœ¨


πŸŽ€ NAME πŸŽ€

swizzle_model β€” modify the vertices of the specified model to reverse the winding order πŸ”„


✨ SYNOPSIS ✨

success
swizzle_model( modelvid )

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” the order you specify vertices in (clockwise or counterclockwise) literally decides which direction the triangle is facing (front or back). like, that's the whole vibe check for a triangle's orientation, no cap.

and for some models, you might want to reorder those vertices on some condition β€” without changing the order that the current camtagged object is using. that's the whole point of this one, bestie 🫢


πŸ’… NOTES πŸ’…

  1. This applies to all meshes CURRENTLY associated with the model. like, all of them. presently. as we speak 😭

🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸŽ€ mwah πŸ’– this was the 3d section, October 2026 edition β€” go forth and swizzle responsibly, periodt πŸ‘‘πŸ”₯

πŸ“¦ where this page comes from