swizzle_model(3)
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 π
- This applies to all meshes CURRENTLY associated with the model. like, all of them. presently. as we speak π
π SEE ALSO π
scale_3dvertices(3)β go give it a lil read, iykyk π¦
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
- 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