57 lines
1.1 KiB
C++
57 lines
1.1 KiB
C++
// C
|
|
#include <stdio.h>
|
|
|
|
// System (C)
|
|
#include <sys/stat.h>
|
|
#include <sys/inotify.h>
|
|
#include <fcntl.h>
|
|
#include <libgen.h>
|
|
#include <unistd.h>
|
|
|
|
// Misc (C)
|
|
#include <SDL.h>
|
|
#include <GL/glew.h>
|
|
|
|
// C++ std
|
|
#include <vector>
|
|
#include <string>
|
|
#include <algorithm>
|
|
#include <functional>
|
|
#include <memory>
|
|
#include <fstream>
|
|
#include <map>
|
|
#include <set>
|
|
#include <regex>
|
|
#include <unordered_map>
|
|
|
|
// ImGui
|
|
#include <imgui.h>
|
|
|
|
// GLM
|
|
#include <glm/mat3x3.hpp>
|
|
#include <glm/gtx/euler_angles.hpp>
|
|
|
|
// Silly decoration macros I use everywhere
|
|
#define __rd__
|
|
#define __wr__
|
|
#define __rw__
|
|
|
|
// Macros that enable/disable copying/moving
|
|
#define NO_COPY( CLS ) \
|
|
CLS( CLS const& ) = delete; \
|
|
CLS& operator =( CLS const& ) = delete
|
|
#define NO_MOVE( CLS ) \
|
|
CLS( CLS&& ) = delete; \
|
|
CLS& operator =( CLS&& ) = delete
|
|
#define DEF_COPY( CLS ) \
|
|
CLS( CLS const& ) = default; \
|
|
CLS& operator =( CLS const& ) = default
|
|
#define DEF_MOVE( CLS ) \
|
|
CLS( CLS&& ) noexcept = default; \
|
|
CLS& operator =( CLS&& ) noexcept = default
|
|
#define COPY( CLS ) \
|
|
CLS( CLS const& ); \
|
|
CLS& operator =( CLS const& )
|
|
#define MOVE( CLS ) \
|
|
CLS( CLS&& ) noexcept; \
|
|
CLS& operator =( CLS&& ) noexcept
|