diff options
Diffstat (limited to 'src/fractals.h')
| -rw-r--r-- | src/fractals.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/fractals.h b/src/fractals.h index 1c745d9..b31b15f 100644 --- a/src/fractals.h +++ b/src/fractals.h @@ -1,5 +1,6 @@ #pragma once +#include <stdint.h> #ifndef __NVCC__ #include <complex.h> #endif @@ -18,12 +19,12 @@ typedef union { typedef void (*fractal_generator)(grid_t* , const grid_gen_params* ); #ifndef __NVCC__ -size_t mandelbrot(const CBASE complex z0, const size_t max_iterations); -size_t tricorn(const CBASE complex z0, const size_t max_iterations); -size_t burning_ship(const CBASE complex z0, const size_t max_iterations); -size_t multibrot(const CBASE complex z0, const size_t max_iterations, const double d); -size_t multicorn(const CBASE complex z0, const size_t max_iterations, const double d); -size_t julia(const CBASE complex z0, const CBASE complex c, const size_t max_iterations, const double R); +byte mandelbrot(const CBASE complex z0, const byte max_iterations); +byte tricorn(const CBASE complex z0, const byte max_iterations); +byte burning_ship(const CBASE complex z0, const byte max_iterations); +byte multibrot(const CBASE complex z0, const byte max_iterations, const double d); +byte multicorn(const CBASE complex z0, const byte max_iterations, const double d); +byte julia(const CBASE complex z0, const CBASE complex c, const byte max_iterations, const double R); #endif #ifdef __cplusplus |
