Drawable is that which can be rendered to OpenGL.
| 24 | |
| 25 | // Drawable is that which can be rendered to OpenGL. |
| 26 | type Drawable interface { |
| 27 | Texture() *gl.Texture |
| 28 | Width() float32 |
| 29 | Height() float32 |
| 30 | View() (float32, float32, float32, float32) |
| 31 | Close() |
| 32 | } |
| 33 | |
| 34 | // TextureRepeating is the method used to repeat a texture in OpenGL. |
| 35 | type TextureRepeating uint8 |
no outgoing calls
no test coverage detected