Skip to content

Commit fe19e64

Browse files
committed
.
1 parent c168198 commit fe19e64

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

Fractal Images/Mandelbrot.cpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#include "Mandelbrot.h"
2+
3+
namespace fractal{
4+
Mandelbrot::Mandelbrot() {
5+
6+
}
7+
8+
Mandelbrot::~Mandelbrot() {
9+
10+
}
11+
12+
13+
int Mandelbrot::getIteration(double x, double y) {
14+
return 0;
15+
}
16+
17+
}
18+
19+

Fractal Images/Mandelbrot.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#pragma once
2+
#ifndef MANDELBROT_H_
3+
#define MANDELBROT_H_
4+
5+
namespace fractal {
6+
7+
class Mandelbrot{
8+
public:
9+
static const int MAX_ITERATION = 1000;
10+
11+
public:
12+
Mandelbrot();
13+
virtual ~Mandelbrot();
14+
15+
static int getIteration(double x, double y);
16+
17+
};
18+
19+
}
20+
21+
#endif /* MANDELBROT_H_ */

Fractal Images/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
using namespace std;
88
using namespace fractal;
99

10+
11+
1012
int main() {
1113

1214
int const WIDTH = 800;

0 commit comments

Comments
 (0)