src/rotate.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "mb_animate.h"
Go to the source code of this file.
|
Classes |
struct | _mb_rotate |
| Animation action to rotate a coordinate. More...
|
Typedefs |
typedef struct _mb_rotate | mb_rotate_t |
Functions |
static float | comp_mb_timeval_ratio (const mb_timeval_t *a, const mb_timeval_t *b) |
static void | mb_rotate_start (mb_action_t *act, const mb_timeval_t *now, const mb_timeval_t *playing_time, redraw_man_t *rdman) |
static void | mb_rotate_step (mb_action_t *act, const mb_timeval_t *now, redraw_man_t *rdman) |
static void | mb_rotate_stop (mb_action_t *act, const mb_timeval_t *now, redraw_man_t *rdman) |
static void | mb_rotate_free (mb_action_t *act) |
mb_action_t * | mb_rotate_new (float angle1, float angle2, coord_t *coord, mb_word_t *word) |
Typedef Documentation
Function Documentation
static void mb_rotate_free |
( |
mb_action_t * |
act |
) |
[static] |