-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobal.cpp
45 lines (36 loc) · 1.03 KB
/
Global.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include "Includes.h"
FractalTypeEnum CurrentFractalType = FractalTypeEnum::Mandelbrot;
FractalContext FContext;
namespace Global {
SRReal ItDiv = 256.0;
SRReal ItMod = 256.0 * DefaultPreModMultiplier;
size_t ItLim = 1024;
uint64_t MaxIt = 1024;
bool UseBilinearFilter = false;
bool FlipImaginaryAxis = false;
bool PreModulo = false;
bool SizeChanged = false;
bool Redraw = true;
bool Initialized = false;
bool Transform = false;
std::vector<RGBA> Palette = {
{ 0.0, 0.0, 0.75, 1.0 },
{ 0.5, 0.0, 1.0, 1.0 },
{ 1.0, 1.0, 0.0, 1.0 },
{ 0.75, 0.0, 0.0, 1.0 },
{ 0.75, 0.0, 1.0, 1.0 },
{ 0.0, 1.0, 1.0, 1.0 },
};
bool GammaCorrection = true;
SRReal ColoringValueOffset = 0.0;
SRReal ColorCyclingSpeed = 0.0;
SRReal Rotation = 0.0;
SRReal StretchAngle = 0.0;
SRReal StretchRatio = 1.0;
glm::dmat2 TransformMatrix = glm::dmat2(1.0);
glm::dmat2 InvTransformMatrix = glm::dmat2(1.0);
std::string CustomFormula = "z^2 + c";
bool HighQuality = true;
bool SaveReference = true;
int ReferenceQuality = 40;
}