Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/primitive
/ Copy
Method
Copy
primitive/triangle.go:44–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
}
43
44
func
(t *Triangle) Copy() Shape {
45
a := *t
46
return
&a
47
}
48
49
func
(t *Triangle) Mutate() {
50
w := t.Worker.W
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected