tonc_bg_affine.c File Reference
#include "tonc_memmap.h"
#include "tonc_core.h"
#include "tonc_video.h"
#include "tonc_math.h"
#include "tonc_bios.h"
Functions | |
void | bg_aff_rotate (BG_AFFINE *bgaff, u16 alpha) |
Set bg matrix to counter-clockwise rotation. | |
void | bg_aff_rotscale (BG_AFFINE *bgaff, int sx, int sy, u16 alpha) |
Set bg matrix to 2d scaling, then counter-clockwise rotation. | |
void | bg_aff_premul (BG_AFFINE *dst, const BG_AFFINE *src) |
Pre-multiply dst by src: D = S*D. | |
void | bg_aff_postmul (BG_AFFINE *dst, const BG_AFFINE *src) |
Post-multiply dst by src: D= D*S. | |
void | bg_aff_rotscale2 (BG_AFFINE *bgaff, const AFF_SRC *as) |
Set bg matrix to 2d scaling, then counter-clockwise rotation. | |
void | bg_rotscale_ex (BG_AFFINE *bgaff, const AFF_SRC_EX *asx) |
Set bg affine matrix to a rot/scale around an arbitrary point. |
Detailed Description
- Author:
- J Vijn
- Date:
- 20060916 - 20060916
Generated on Mon Aug 25 17:03:56 2008 for libtonc by
