Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/primitive
/ Triangle
Struct
Triangle
primitive/triangle.go:10–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
)
9
10
type
Triangle
struct
{
11
Worker *Worker
12
X1, Y1 int
13
X2, Y2 int
14
X3, Y3 int
15
}
16
17
func
NewRandomTriangle(worker *Worker) *Triangle {
18
rnd := worker.Rnd
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected