MCPcopy
hub / github.com/fogleman/ln / Sphere

Struct Sphere

ln/sphere.go:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Sphere struct {
9 Center Vector
10 Radius float64
11 Box Box
12}
13
14func NewSphere(center Vector, radius float64) *Sphere {
15 min := Vector{center.X - radius, center.Y - radius, center.Z - radius}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected