Files
vb01/util.h
T
devZoGok 9479e3324f implemented shadows for non positional lights
fixed skybox
implemented translation and rotation
2021-10-18 19:05:52 +03:00

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