mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
24 lines
442 B
C++
Executable File
24 lines
442 B
C++
Executable File
#ifndef UTIL_H
|
|
#define UTIL_H
|
|
|
|
#include<chrono>
|
|
#include<cmath>
|
|
|
|
namespace vb01{
|
|
typedef char s8;
|
|
typedef short s16;
|
|
typedef int s32;
|
|
typedef long long s64;
|
|
|
|
typedef unsigned char u8;
|
|
typedef unsigned short u16;
|
|
typedef unsigned int u32;
|
|
typedef unsigned long long u64;
|
|
|
|
static const float PI=4*atan(1);
|
|
|
|
inline s64 getTime(){return s64(std::chrono::system_clock::now().time_since_epoch()/std::chrono::milliseconds(1));}
|
|
}
|
|
|
|
#endif
|