Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Mesh
Struct
Mesh
ln/mesh.go:5–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
import
"math"
4
5
type
Mesh
struct
{
6
Box Box
7
Triangles []*Triangle
8
Tree *Tree
9
}
10
11
func
NewMesh(triangles []*Triangle) *Mesh {
12
box := BoxForTriangles(triangles)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected