mightymandel
v16
GPU-based Mandelbrot set explorer
tiling.h
Go to the documentation of this file.
1
// mightymandel -- GPU-based Mandelbrot Set explorer
2
// Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3
// License GPL3+ http://www.gnu.org/licenses/gpl.html
4
5
#ifndef TILING_H
6
#define TILING_H 1
7
13
#include <stdbool.h>
14
#include <mpfr.h>
15
21
struct
tiling
{
22
int
width
;
23
int
height
;
24
mpfr_t
centerx
;
25
mpfr_t
centery
;
26
mpfr_t
radius
;
27
int
col
;
28
int
row
;
29
int
tiled_cols
;
30
int
tiled_rows
;
31
mpfr_t
tiled_centerx
;
32
mpfr_t
tiled_centery
;
33
mpfr_t
tiled_radius
;
34
};
35
36
void
tiling_begin
(
struct
tiling
*
tiling
,
int
cols,
int
rows,
int
width,
int
height,
const
mpfr_t centerx,
const
mpfr_t centery,
const
mpfr_t radius);
37
void
tiling_end
(
struct
tiling
*
tiling
);
38
bool
tiling_next
(
struct
tiling
*
tiling
);
39
40
#endif
src
tiling.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2