MCPcopy
hub / github.com/EngoEngine/engo / Circle

Struct Circle

common/render_shapes.go:67–71  ·  view source on GitHub ↗

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).

Source from the content-addressed store, hash-verified

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).
67type 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.
74func (Circle) Texture() *gl.Texture { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected