Circle is a basic circular form; the dimensions / radius are controlled via the `SpaceComponent`. This was made possible by the shared knowledge of Olivier Gagnon (@hydroflame).
| 65 | // Circle is a basic circular form; the dimensions / radius are controlled via the `SpaceComponent`. |
| 66 | // This was made possible by the shared knowledge of Olivier Gagnon (@hydroflame). |
| 67 | type Circle struct { |
| 68 | BorderWidth float32 |
| 69 | BorderColor color.Color |
| 70 | Arc float32 |
| 71 | } |
| 72 | |
| 73 | // Texture always returns nil. Circle is drawable without a Texture. This implements the Drawable interface. |
| 74 | func (Circle) Texture() *gl.Texture { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected