Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Cone
Struct
Cone
ln/cone.go:5–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
import
"math"
4
5
type
Cone
struct
{
6
Radius float64
7
Height float64
8
}
9
10
func
NewCone(radius, height float64) *Cone {
11
return
&Cone{radius, height}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected