-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserializer.h
More file actions
42 lines (35 loc) · 993 Bytes
/
serializer.h
File metadata and controls
42 lines (35 loc) · 993 Bytes
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
#ifndef FISH_SERIALIZER
#define FISH_SERIALIZER
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#include <glm/mat3x3.hpp>
#include <glm/mat4x4.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <iostream>
#include <fstream>
#include <string>
#include <filesystem>
#include <algorithm>
#include "global.h"
class Serializer {
public:
static void loadData();
static void storeData();
static glm::vec3 fish_eye_color;
static glm::vec3 fish_fin_color;
static glm::vec3 fish_body_color;
static std::string fish_tex_path;
static unsigned int number_of_fish;
static float cohesion_intensity;
static float alignment_intensity;
static float separation_intensity;
static float edge_evasion_intensity;
static float pixelation_amount;
static bool is_framerate_limited;
static bool use_solid_color;
static bool use_pixelation;
static bool store_on_exit;
static bool show_gui;
};
#endif // !FISH_SERIALIZER