Первый движок анимации

This commit is contained in:
2025-11-17 15:43:33 +03:00
parent 5ac43bb236
commit 92f4632803
5 changed files with 174 additions and 25 deletions

View File

@@ -19,6 +19,10 @@ struct figure_animation_info {
float angular_velocity;
float speed;
/* Radius of the figure normalized for window width (0..1)
* This field is used by animation code to check collisions
* with the left/right/top/bottom borders. */
float radius;
};
#endif