SetRepeat set the repeat factor
(x, y float32)
| 260 | |
| 261 | // SetRepeat set the repeat factor |
| 262 | func (t *Texture2D) SetRepeat(x, y float32) { |
| 263 | |
| 264 | t.udata.repeatX = x |
| 265 | t.udata.repeatY = y |
| 266 | } |
| 267 | |
| 268 | // Repeat returns the current X and Y repeat factors |
| 269 | func (t *Texture2D) Repeat() (float32, float32) { |
no outgoing calls
no test coverage detected