Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Position
Method
Position
ln/ray.go:7–9 ·
view source on GitHub ↗
(t float64)
Source
from the content-addressed store, hash-verified
5
}
6
7
func
(r Ray) Position(t float64) Vector {
8
return
r.Origin.Add(r.Direction.MulScalar(t))
9
}
Callers
3
Intersect
Method · 0.80
Intersect
Method · 0.80
Intersect
Method · 0.80
Calls
2
MulScalar
Method · 0.80
Add
Method · 0.45
Tested by
no test coverage detected