Структура для анимации

This commit is contained in:
2025-11-17 14:42:42 +03:00
parent 8dd2aa19ad
commit 743b8336a3
5 changed files with 9 additions and 6 deletions

View File

@@ -10,12 +10,15 @@ enum figure_type
FIGURE_SQUARE = 2
};
struct figure_info {
struct figure_animation_info {
enum figure_type type;
struct vec2 position;
struct vec2 velocity;
float rotation;
float rotation_speed;
float angle;
float angular_velocity;
float speed;
};
#endif