HAM Documentation

Home · Downloads · Your Account · Submit News

Documentation Homepage HAMLib reference Back to HAM Homepage |

# rot.c File Reference

BG and OBJ Rotation Functions. More...

`#include "mygba.h"`

## Functions

void | ham_RotBg (u8 bgno, u16 angle, s32 center_x, s32 center_y, FIXED zoom)
| Rotate / Zoom a BG
void | ham_RotBgEx (u8 bgno, u16 angle, s32 center_x, s32 center_y, u16 x_scroll, u16 y_scroll, FIXED zoom_x, FIXED zoom_y)
| Rotate / Zoom a BG (Advanced options available)
void | ham_RotObjDefineSet (u8 rotset, u16 angle, FIXED zoom_x, FIXED zoom_y)
| Set the Values for a Rotation Set for Sprite Rotation

## Detailed Description

BG and OBJ Rotation Functions.

Documentation Homepage | HAMLib reference | Back to HAM Homepage
documentation created with Doxygen