Sphere is an analytical collision sphere.
| 8 | |
| 9 | // Sphere is an analytical collision sphere. |
| 10 | type Sphere struct { |
| 11 | radius float32 |
| 12 | } |
| 13 | |
| 14 | // NewSphere creates and returns a pointer to a new analytical collision sphere. |
| 15 | func NewSphere(radius float32) *Sphere { |
nothing calls this directly
no outgoing calls
no test coverage detected