Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/ln
/ UpdateBoundingBox
Method
UpdateBoundingBox
ln/triangle.go:17–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
}
16
17
func
(t *Triangle) UpdateBoundingBox() {
18
min := t.V1.Min(t.V2).Min(t.V3)
19
max := t.V1.Max(t.V2).Max(t.V3)
20
t.Box = Box{min, max}
21
}
22
23
func
(t *Triangle) Compile() {
24
}
Callers
3
NewTriangle
Function · 0.95
LoadBinarySTL
Function · 0.95
LoadSTL
Function · 0.95
Calls
2
Min
Method · 0.45
Max
Method · 0.45
Tested by
no test coverage detected