Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/ln
/ Dot
Method
Dot
ln/vector.go:40–42 ·
view source on GitHub ↗
(b Vector)
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(a Vector) Dot(b Vector) float64 {
41
return
a.X*b.X + a.Y*b.Y + a.Z*b.Z
42
}
43
44
func
(a Vector) Cross(b Vector) Vector {
45
x := a.Y*b.Z - a.Z*b.Y
Callers
6
IntersectSegment
Method · 0.80
Intersect
Method · 0.80
SegmentDistance
Method · 0.80
NewTransformedOutlineCone
Function · 0.80
NewTransformedOutlineCylinder
Function · 0.80
render
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected