Files
NASM/wayland/include/figure.h

25 lines
337 B
C

#ifndef FIGURE_H
#define FIGURE_H
#include "geomerty.h"
enum figure_type
{
FIGURE_CIRCLE = 0,
FIGURE_TRIANGLE = 1,
FIGURE_SQUARE = 2
};
struct figure_animation_info {
enum figure_type type;
struct vec2 position;
struct vec2 velocity;
float angle;
float angular_velocity;
float speed;
};
#endif