mightymandel
v16
GPU-based Mandelbrot set explorer
fp32_escaped.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 FP32_ESCAPED_H
6
#define FP32_ESCAPED_H 1
7
8
#include <stdbool.h>
9
#include <GL/glew.h>
10
#include <mpfr.h>
11
12
struct
fp32_escaped
{
13
GLuint
program
;
14
GLint
center
;
15
GLint
radius
;
16
GLint
aspect
;
17
GLint
loger2
;
18
GLint
pxs
;
19
GLint
cne0
;
20
GLint
zdz0
;
21
GLuint
vao
;
22
};
23
24
void
fp32_escaped_begin
(
struct
fp32_escaped
*s);
25
void
fp32_escaped_end
(
struct
fp32_escaped
*s);
26
void
fp32_escaped_start
(
struct
fp32_escaped
*s, GLuint tex, GLuint fbo, GLuint vbo,
double
escaperadius2,
int
width,
int
height,
const
mpfr_t centerx,
const
mpfr_t centery,
const
mpfr_t radius);
27
void
fp32_escaped_do
(
struct
fp32_escaped
*s, GLuint active_count);
28
29
#endif
src
fp32_escaped.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2