mightymandel v16

GPU-based Mandelbrot set explorer

zoom.h File Reference

(v16)

#include <stdbool.h>
#include <mpfr.h>
+ Include dependency graph for zoom.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  zoom

Functions

void zoom_begin (struct zoom *zoom, int frames, const mpfr_t centerx, const mpfr_t centery)
void zoom_end (struct zoom *zoom)
bool zoom_next (struct zoom *zoom)

Data Structure Documentation

struct zoom

Definition at line 11 of file zoom.h.

Data Fields
mpfr_t centerx
mpfr_t centery
int frame
mpfr_t radius
int zoom_frames

Function Documentation

void zoom_begin ( struct zoom zoom,
int  frames,
const mpfr_t  centerx,
const mpfr_t  centery 
)

Definition at line 7 of file zoom.c.

References zoom::centerx, zoom::centery, zoom::frame, zoom::radius, and zoom::zoom_frames.

Referenced by main().

+ Here is the caller graph for this function:

void zoom_end ( struct zoom zoom)

Definition at line 18 of file zoom.c.

References zoom::centerx, zoom::centery, and zoom::radius.

Referenced by main().

+ Here is the caller graph for this function:

bool zoom_next ( struct zoom zoom)

Definition at line 22 of file zoom.c.

References zoom::frame, zoom::radius, and zoom::zoom_frames.

Referenced by main().

+ Here is the caller graph for this function: