Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ NewNode
Function
NewNode
ln/tree.go:36–38 ·
view source on GitHub ↗
(shapes []Shape)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
NewNode(shapes []Shape) *Node {
37
return
&Node{AxisNone, 0, shapes, nil, nil}
38
}
39
40
func
(node *Node) Intersect(r Ray, tmin, tmax float64) Hit {
41
var
tsplit float64
Callers
2
NewTree
Function · 0.85
Split
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected