MCPcopy 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
21func (s *Scene) Intersect(r Ray) Hit {
22 return s.Tree.Intersect(r)
23}
24
25func (s *Scene) Visible(eye, point Vector) bool {
26 v := eye.Sub(point)

Callers 1

VisibleMethod · 0.95

Calls 1

IntersectMethod · 0.65

Tested by

no test coverage detected