mightymandel
v16
GPU-based Mandelbrot set explorer
zoom.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 ZOOM_H
6
#define ZOOM_H 1
7
8
#include <stdbool.h>
9
#include <mpfr.h>
10
11
struct
zoom
{
12
mpfr_t
centerx
;
13
mpfr_t
centery
;
14
mpfr_t
radius
;
15
int
frame
;
16
int
zoom_frames
;
17
};
18
19
void
zoom_begin
(
struct
zoom
*
zoom
,
int
frames,
const
mpfr_t centerx,
const
mpfr_t centery);
20
void
zoom_end
(
struct
zoom
*
zoom
);
21
bool
zoom_next
(
struct
zoom
*
zoom
);
22
23
#endif
src
zoom.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2