Builtin Library
README.md
mesh
The primitive solids a graph starts from. A .mesh asset enters a graph through
the asset node (procPacks/asset.procPack), as the Surface the mesh type
states.
The definitions live in proc.ops.sources; this pack is what puts them
in the op registry, so procgen.searchNodes("", { pack = "mesh" }) lists the family
and procgen.describeNode("op.<id>") describes any one of them.
Ops
mesh.box— A box: the engine's cube primitive, scaled tosize(per-axis dimensions)mesh.sphere— A sphere: the engine's sphere primitive, scaled toradiusmesh.cylinder— A cylinder (axis +Y): the engine's cylinder primitive, scaled toradiusandheightmesh.cone— A cone (apex +Y): the engine's cone primitive, scaled toradiusandheightmesh.plane— A flat plane (XZ, facing +Y): the engine's plane primitive, scaled tosizemesh.capsule— A capsule (axis +Y): the engine's capsule primitive, scaled toradiusandheightmesh.octahedron— An octahedron: the engine's octahedron primitive, scaled tosizemesh.torus— A torus (XZ plane): the engine's torus primitive, scaled uniformly to outerradiusmesh.rounded_box— A rounded box: the engine's rounded-box primitive, scaled tosize(per-axis dimensions)mesh.grid— A flat subdivided grid in the XZ plane, centered at the origin, facing +Y