Parks-n-Rec/include/parks/config.h

30 lines
515 B
C
Raw Normal View History

2023-06-12 20:00:53 -04:00
//
// Created by brett on 6/11/23.
//
#ifndef PARKSNREC_CONFIG_H
#define PARKSNREC_CONFIG_H
#include <unordered_map>
namespace parks {
2023-06-15 21:16:48 -04:00
# define PI 3.14159265358979323846
inline double degreeToRad(double deg){
return deg * (PI / 180);
}
2023-06-12 20:00:53 -04:00
// 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