MCPcopy
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
36func NewNode(shapes []Shape) *Node {
37 return &Node{AxisNone, 0, shapes, nil, nil}
38}
39
40func (node *Node) Intersect(r Ray, tmin, tmax float64) Hit {
41 var tsplit float64

Callers 2

NewTreeFunction · 0.85
SplitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected