Builtin Library
README.md
proc.ops.normals
Topology and shading-normal ops. geometry.weld merges vertices within a distance of each other, reindexes the triangles onto the survivors and drops the vertices no triangle reaches. geometry.smooth_normals gives every corner a normal averaged over the incident faces within a crease angle, splitting the vertex where the angle is exceeded so a hard edge stays hard. Each returns a new Geometry and a stats output reporting what it changed.
ops(geometry, fields) returns the family as a map of op id to op def; procPacks/normals.procPack registers it. A graph calls one of its ops as g.op.<id>({ ... }) and a script as proc.ops.<family>.<op>(...); the procgen toolbox's describeNode answers each in full.
Ops: geometry.smooth_normals, geometry.weld.
Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.ops.normals.