MCPcopy
hub / github.com/g3n/engine / Sphere

Struct Sphere

experimental/collision/shape/sphere.go:10–12  ·  view source on GitHub ↗

Sphere is an analytical collision sphere.

Source from the content-addressed store, hash-verified

8
9// Sphere is an analytical collision sphere.
10type Sphere struct {
11 radius float32
12}
13
14// NewSphere creates and returns a pointer to a new analytical collision sphere.
15func NewSphere(radius float32) *Sphere {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected