This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
space-war/include/tinyengine/tool.hpp

20 lines
309 B
C++

#pragma once
#include "pch.hpp"
template <typename T>
using Unique = std::unique_ptr<T>;
template <typename T>
using Ref = std::shared_ptr<T>;
#ifdef GAME_DEBUG
#define FATAL_ERROR(msg) assert((void(msg), false))
#else
#define FATAL_ERROR(msg)
#endif
inline float GetTime() {
return glfwGetTime();
}