Compare commits

...

2 Commits

Author SHA1 Message Date
e3e544214a Add cglm 2019-10-01 13:22:41 +02:00
4ec9195857 Update rendering settings 2019-10-01 13:19:42 +02:00
3 changed files with 11 additions and 6 deletions

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "cglm/cglm"]
path = cglm/cglm
url = https://github.com/recp/cglm
branch = master

1
cglm/cglm Submodule

@ -0,0 +1 @@
Subproject commit 7cdeada70129c08f40ca89b523e71b4428b55029

View File

@ -345,13 +345,13 @@ int main(int argc, char **argv)
g_signal_connect(window, "delete-event", G_CALLBACK(on_main_window_close), NULL);
mandelbrot_buff.x_span = 0.075;//2.8;
mandelbrot_buff.y_span = 0.075;//2.25;
mandelbrot_buff.x_span = 0.05;//2.8;
mandelbrot_buff.y_span = 0.05;//2.25;
mandelbrot_buff.center_x = -0.6;
mandelbrot_buff.center_y = 0.45;
mandelbrot_buff.width = 2000;
mandelbrot_buff.height = 2000;
mandelbrot_buff.iterations = 400;
mandelbrot_buff.center_y = 0.44;
mandelbrot_buff.width = 5000;
mandelbrot_buff.height = 5000;
mandelbrot_buff.iterations = 600;
mandelbrot_buff.mandelbrot_buffer = NULL;
printf("Compile and run Mandelbrot on OpenCL HW\n");