Revision 190
fixed sprite, rotation. added scale
sprite.h | ||
---|---|---|
8 | 8 |
void (sprite_dtor)(sprite_t *p); |
9 | 9 |
|
10 | 10 |
void (sprite_set_pos) (sprite_t *p, int16_t x, int16_t y); |
11 |
void (sprite_set_center)(sprite_t *p, int16_t u0, int16_t v0); |
|
11 | 12 |
void (sprite_set_angle) (sprite_t *p, double angle); |
12 |
void (sprite_set_center)(sprite_t *p, int16_t u0, int16_t v0);
|
|
13 |
void (sprite_set_scale) (sprite_t *p, double scale);
|
|
13 | 14 |
|
14 | 15 |
int16_t (sprite_get_x)(const sprite_t *p); |
15 | 16 |
int16_t (sprite_get_y)(const sprite_t *p); |
Also available in: Unified diff