#ifndef GRAPHICS_H # define GRAPHICS_H # include # include # include "config.h" typedef struct { SDL_Window *window; SDL_Renderer *renderer; double factor; double points_num; struct { double x; double y; } center; double radius; bool running; } t_state; void graphics_init(t_state *state, int width, int height);//, t_cardioid *cardioid); void graphics_quit(t_state *state); void graphics_run(t_state *state); #endif