2023-07-29 18:58:56 -04:00
|
|
|
//
|
|
|
|
// Created by brett on 6/11/23.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef PARKSNREC_CONFIG_H
|
|
|
|
#define PARKSNREC_CONFIG_H
|
|
|
|
|
|
|
|
#include <unordered_map>
|
|
|
|
|
2023-08-01 20:57:39 -04:00
|
|
|
namespace blt::graphics {
|
2023-07-29 18:58:56 -04:00
|
|
|
|
|
|
|
# define PI 3.14159265358979323846
|
|
|
|
inline double degreeToRad(double deg){
|
|
|
|
return deg * (PI / 180);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Build Config
|
|
|
|
#define BUILD_DEV_TOOLS
|
|
|
|
//#define BUILD_RELEASE_MODE
|
|
|
|
|
|
|
|
// Types
|
|
|
|
template<typename K, typename V, typename hash = std::hash<K>>
|
|
|
|
using hashmap = std::unordered_map<K, V, hash>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //PARKSNREC_CONFIG_H
|