PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
Utils.hpp
1#pragma once
2
3#include <ctime>
4
5namespace PixelBullet
6{
7 namespace Platform
8 {
9 inline void GetLocalTime(std::tm& localTime, const std::time_t& timeVal)
10 {
11 localtime_s(&localTime, &timeVal);
12 }
13 } // namespace Platform
14} // namespace PixelBullet