35 lines
751 B
Plaintext
35 lines
751 B
Plaintext
#ifndef __AMSCLFLS_FUNCTIONDEFS_CUH__
|
|
#define __AMSCLFLS_FUNCTIONDEFS_CUH__
|
|
|
|
#ifdef AMSCLS_MANDELBROT
|
|
struct main_functionpars
|
|
{
|
|
public:
|
|
//if I need it to go faster, I should make a seperate cutdown version
|
|
int fractaliter;
|
|
float threshold;
|
|
float freezethresh;
|
|
//these are included for flexibility and can be cut later
|
|
float exponent;
|
|
bool isjulia;
|
|
cuvec3f juliac;
|
|
};
|
|
#endif
|
|
|
|
#ifdef AMSCLS_PPKFRACTAL
|
|
struct main_functionpars
|
|
{
|
|
public:
|
|
//if I need it to go faster, I should make a seperate cutdown version
|
|
int fractaliter;
|
|
float threshold;
|
|
float freezethresh;
|
|
//these are included for flexibility and can be cut later
|
|
float scale;
|
|
bool isjulia;
|
|
cuvec3f juliac;
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif |