SetOffset sets the offset factor
(x, y float32)
| 273 | |
| 274 | // SetOffset sets the offset factor |
| 275 | func (t *Texture2D) SetOffset(x, y float32) { |
| 276 | |
| 277 | t.udata.offsetX = x |
| 278 | t.udata.offsetY = y |
| 279 | } |
| 280 | |
| 281 | // Offset returns the current X and Y offset factors |
| 282 | func (t *Texture2D) Offset() (float32, float32) { |
no outgoing calls
no test coverage detected