Triangle is a basic triangular form; the "point" of the triangle is pointing to the top. The dimensions are controlled by the SpaceComponent.
| 20 | // Triangle is a basic triangular form; the "point" of the triangle is pointing to the top. The dimensions are controlled |
| 21 | // by the SpaceComponent. |
| 22 | type Triangle struct { |
| 23 | TriangleType TriangleType |
| 24 | |
| 25 | BorderWidth float32 |
| 26 | BorderColor color.Color |
| 27 | } |
| 28 | |
| 29 | // Texture always returns nil. Triangle is drawable without a Texture. This implements the Drawable interface. |
| 30 | func (Triangle) Texture() *gl.Texture { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected