#pragma once
#define _GNU_SOURCE
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>

#define TOGGLE(x) ((x) ^= 1)

#ifndef M_PI
#define M_PI	3.14159265358979323846
#endif

#define M_2PI	(M_PI * 2.0)

#ifndef VERSION
#define VERSION	"-.-"
#endif