Inline functions for manipulating texture handles. More...
Functions | |
| INLINE void | GRRLIB_SetHandle (GRRLIB_texImg *tex, const int x, const int y) |
| Set a texture's X and Y handles. | |
| INLINE void | GRRLIB_SetMidHandle (GRRLIB_texImg *tex, const bool enabled) |
| Center a texture's handles. | |
Inline functions for manipulating texture handles.
| INLINE void GRRLIB_SetHandle | ( | GRRLIB_texImg * | tex, | |
| const int | x, | |||
| const int | y | |||
| ) |
Set a texture's X and Y handles.
e.g. for rotation.
| tex | The texture to set the handle on. | |
| x | The x-coordinate of the handle. | |
| y | The y-coordinate of the handle. |
| INLINE void GRRLIB_SetMidHandle | ( | GRRLIB_texImg * | tex, | |
| const bool | enabled | |||
| ) |
Center a texture's handles.
e.g. for rotation.
| tex | The texture to center. | |
| enabled |
1.6.1