Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/ln
/ Intersect
Method
Intersect
ln/scene.go:21–23 ·
view source on GitHub ↗
(r Ray)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(s *Scene) Intersect(r Ray) Hit {
22
return
s.Tree.Intersect(r)
23
}
24
25
func
(s *Scene) Visible(eye, point Vector) bool {
26
v := eye.Sub(point)
Callers
1
Visible
Method · 0.95
Calls
1
Intersect
Method · 0.65
Tested by
no test coverage detected