too much changes to describe

This commit is contained in:
2022-07-05 19:06:45 +02:00
parent f21fed9b27
commit 6b75b7d61a
6 changed files with 343 additions and 154 deletions

View File

@ -4,6 +4,7 @@
#include <cstdint>
#include <string>
#include "utils.h"
#include "mandelbrot.h"
using namespace Util;
@ -15,9 +16,13 @@ namespace Mandelbrot {
int w, h;
SDL_Window *window;
SDL_Renderer *renderer;
Vec2mp from;
Vec2mp to;
bool running;
Graphics(int w, int h, std::string title);
void plot(const Vec2bf &from, const Vec2bf &to);
void plot(Mandelbrotc const &m);
void mainLoop();
void drawPoint(const Vec2i &pos, const rgb &col);
};
} // namespace Mandelbrot