parent
7486e1f3bf
commit
2d8b0edb4a
5 changed files with 47 additions and 7 deletions
@ -0,0 +1,17 @@ |
||||
|
||||
#pragma once |
||||
|
||||
#include <QVector2D> |
||||
#include <QOpenGLFunctions> |
||||
|
||||
class Mandelbrot : protected QOpenGLFunctions { |
||||
public: |
||||
Mandelbrot(); |
||||
void draw(); |
||||
void zoom(double); |
||||
private: |
||||
double scale; |
||||
QVector2D translation; |
||||
}; |
||||
|
||||
|
@ -0,0 +1,14 @@ |
||||
|
||||
#include "../headers/Mandelbrot.h" |
||||
|
||||
Mandelbrot::Mandelbrot() { |
||||
initializeOpenGLFunctions(); |
||||
} |
||||
|
||||
void Mandelbrot::draw() { |
||||
|
||||
} |
||||
|
||||
void Mandelbrot::zoom(double delta) { |
||||
|
||||
} |
Loading…
Reference in new issue