Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SoutaTanaka committed Aug 23, 2018
1 parent e7ba8c2 commit 4db27bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified bin/mandelbrot
Binary file not shown.
Binary file modified obj/linux64/Release/src/ofApp.o
Binary file not shown.
8 changes: 4 additions & 4 deletions src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
void ofApp::setup(){
ofBackground(0);
glPointSize(3);
for(double i = -4; i <= 4 ; i += 0.0008){
for(double i = -4; i <= 4 ; i += 0.008){
b = -1;
a++;
for(double j = -4; j <= 4 ; j += 0.0008){
for(double j = -4; j <= 4 ; j += 0.008){
b++;
p[a][b].real(i);
p[a][b].imag(j);
}
}

for(int i = -5000; i < 5000; i++){
for(int j = -5000; j < 5000; j++){
for(int i = -500; i < 500; i++){
for(int j = -500; j < 500; j++){
int k = 0;
complex<double> z = 0;
while(abs(z) < 5 || k < 30){
Expand Down
2 changes: 1 addition & 1 deletion src/ofApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ofApp : public ofBaseApp{
void gotMessage(ofMessage msg);

ofMesh mesh;
complex<double> p[10000][1w0000];
complex<double> p[10000][10000];
ofBoxPrimitive box;
long a = -1, b = 0;
ofEasyCam cam;
Expand Down

0 comments on commit 4db27bf

Please sign in to comment.