mightymandel
v16
GPU-based Mandelbrot set explorer
completion.h
Go to the documentation of this file.
1
// mightymandel -- GPU-based Mandelbrot Set explorer
2
// Copyright (C) 2012,2013,2014,2015 Claude Heiland-Allen
3
// License GPL3+ http://www.gnu.org/licenses/gpl.html
4
5
#ifndef COMPLETION_H
6
#define COMPLETION_H 1
7
13
#include <stdbool.h>
14
15
struct
completion
{
16
bool
almost
;
17
bool
done
;
18
int
iterations
;
19
int
iteration_target
;
20
int
unescaped
;
21
int
escaped
;
22
int
escaped_recently
;
23
};
24
25
void
completion_start
(
struct
completion
*
completion
,
int
unescaped);
26
void
completion_reset
(
struct
completion
*
completion
,
int
unescaped);
27
bool
completion_update
(
struct
completion
*
completion
,
int
unescaped,
int
escaped,
int
iterations,
double
sharpness);
28
bool
completion_done
(
struct
completion
*
completion
);
29
30
#endif
src
completion.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2