too much changes to describe
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user